Bug 432802 - RFE - option to set/change the default paper size.
RFE - option to set/change the default paper size.
Status: CLOSED NOTABUG
Product: Fedora
Classification: Fedora
Component: system-config-printer (Show other bugs)
rawhide
All Linux
low Severity low
: ---
: ---
Assigned To: Tim Waugh
Fedora Extras Quality Assurance
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2008-02-14 09:13 EST by Jóhann B. Guðmundsson
Modified: 2008-02-14 13:15 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2008-02-14 11:56:33 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Jóhann B. Guðmundsson 2008-02-14 09:13:50 EST
Description of problem:

Users who decide to use en_US.UTF-8 for their locale 
get by default letter as their paper size.

Which is all fine and dandy if the users happen to live in 
The United States, Canada, and in part Mexico but if
the users live in any of the other industrialized nations 
which by the way all have adopted the ISO standard paper sizes,
and they want to use another paper size than letter as their default,
are faced with the option of changing their locale or manually 
adjust every printer they come across.. ( of course this goes 
both ways if US,Canada or Mexico users travel to any other industrialized
nations in the world they need to manually adjust every printer settings
to what ever is the default standard ( A4 ) or change their locale)..

Users are traveling for conferences or are on business trip 
are faced with this problem etc...

One way to address this issue is to add an option to S-C-P
where user sets the default paper/media size he's gonna use.

Server Settings --> Set default paper/media size to 
[ users choose the paper size they want  ] and
S-C-P adjusts the height and with field in the LC_PAPER variable 
according to what ever the paper size the user had chosen.... 

Example..

Users has the en_US.UTF-8 as his locale but wants to use 
A4 as his default paper/media size instead of Letter he 
opens up S-C-P goes under server settings and under basic server settings
he would choose A4 instead of letter and S-C-P would then 
change height and with fields in the LC_PAPER variable 

From

LC_PAPER
height=279
width=216
paper-codeset="UTF-8"

To

LC_PAPER
height=297
width=210
paper-codeset="UTF-8"

and presto all done..




Version-Release number of selected component (if applicable):

ALL

How reproducible:

By turning S-C-P of and on again.
nope the options not there..

Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:

User could choose to set the default paper size he wants to use..

Additional info:
Comment 1 Tim Waugh 2008-02-14 10:34:41 EST
Set it where?  /etc/sysconfig/i18n?  And "height and width" fields?  Those come
from the (static) locale information for the keywords associated with LC_PAPER
for the locale it is set for (e.g. en_GB.UTF-8) -- you don't get to change them
individually.

system-config-printer configures CUPS servers, not local system files.  Use the
correct locale, set it using system-config-language, and you will get the
correct paper size automatically: CUPS keys off the system locale when there is
no DefaultLanguage line in /etc/cups/cupsd.conf.

It sounds like what you need is:

a) a feature request for CUPS to key off the system LC_PAPER locale setting
specifically, rather than the LC_MESSAGES setting as it currently does.

b) a configuration tool to allow LC_PAPER to be set in /etc/sysconfig/i18n.
Comment 2 Jóhann B. Guðmundsson 2008-02-14 11:16:45 EST
You might wanna keep you locale settings as they are and be able to change
the default paper size..

To address this whole Letter and A4 issue then without changing your locale..

Users has the en_US.UTF-8 as his locale but wants to use 
A4 as his default paper/media size instead of Letter he 
opens up S-C-P goes under server settings and under basic server settings
he would choose A4 instead of letter and S-C-P would then add/modify/set
DefaultLanguage en_GB and if the user wants to switch back to Letter
he would choose letter then as default and S-C-P would then add/modify/set
DefaultLanguage en_US

Presto..

a) a feature request for CUPS to key off the system LC_PAPER locale setting
specifically, rather than the LC_MESSAGES setting as it currently does."

True for more in dept configuration but is that really needed if this 
can be accomplished by adding an DefaultLanguage line to /etc/cups/cups.conf
99.9% of the world use either Letter or A4..

b) a configuration tool to allow LC_PAPER to be set in /etc/sysconfig/i18n.

Which I believe should be S-C-P...
Comment 3 Tim Waugh 2008-02-14 11:25:34 EST
(In reply to comment #2)
> To address this whole Letter and A4 issue then without changing your locale..
[description of how to hide 'DefaultLanguage' setting behind a paper size
selection widget]

That will then change the language in which you are prompted for a password for
privileged IPP operations, and is not acceptable.

> Users are traveling for conferences or are on business trip 
> are faced with this problem etc...

Can you explain this in more detail please?  Are you talking about someone who
is travelling to a conference and physically connecting a printer to their
laptop?  Or using a printer provided on the network?

I don't really see a case for changing the *default* paper size individually
from the system locale.
Comment 4 Jóhann B. Guðmundsson 2008-02-14 11:50:06 EST
I'm talking about someone who is traveling to conference and or on business
using a printer provided on the network and does not want to manually adjust
printer settings for every printer he's gonna use on the network and yes more
then one 2 or 10 printers. 

For example you might be traveling from US to Europe (
conference/training/business/teaching ) and traveling 
from UK to France To Spain To Italy and would you wanna 
manually change the printer settings to A4 on every printer
in every building in every country you would visit in Europe to A4?

 
Comment 5 Tim Waugh 2008-02-14 11:56:33 EST
A printer on the network would already advertise the correct paper size in its
PPD file, so that *already works now*.
Comment 6 Jóhann B. Guðmundsson 2008-02-14 12:00:43 EST
Given the printers on the network or the print server is correctly setup...

For got to mention without changing your locale..

Comment 7 Tim Waugh 2008-02-14 12:17:41 EST
Yes, without changing your locale.  If you take your laptop to a country that
uses a different paper size, and plug it into a network that offers printers,
for CUPS-advertised printers you will get the right paper size without doing
anything.
Comment 8 Jóhann B. Guðmundsson 2008-02-14 12:30:54 EST
"A printer on the network would already advertise the correct paper size in its
PPD file, so that *already works now*"

But does cups honor that or override and or set the default paper/media size to
Letter given that there is no DefaultLanguage line 

And wont cups fallback to that if the ppd file is some how
malformed/broken/corrupt and does not provide the paper size settings...?

And for those who are not CUPS-advertised...
Comment 9 Tim Waugh 2008-02-14 12:44:49 EST
(In reply to comment #8)
> But does cups honor that

Yes. 

> And wont cups fallback to that if the ppd file is some how
> malformed/broken/corrupt and does not provide the paper size settings...?

No.  What are you basing this on?  Please don't guess if you don't know.
Comment 10 Jóhann B. Guðmundsson 2008-02-14 13:15:28 EST
I will try not to and enlighten me regarding this issue do some clean install
testing etc. as I recall last time manually had to change from letter to A4.

But if you don't see the need for the user to be able to
to choose and set default paper size in the system-config-printer application.
then I don't see the need to defend it.

I just threw in the idea I had and where I thought was the best way to address 
this.

Just read the "How important are ISO standards to Fedora?" and "Locales (WAS:
How important are ISO standards)" threads on the fedora-dev list you get 
the idea where I got the Idea...

I will get back on the Letter vs A4 settings if I manually have to change it.

Thanks for the input and info....

Best Regards 
             Johann B.

Note You need to log in before you can comment on or make changes to this bug.