[cups.bugs] [LOW] STR #2846: cups changes default page size at installation

Johannes Meixner jsmeix at suse.de
Wed Jun 4 00:28:36 PDT 2008


Hello,

On Jun 3 07:32 Michael Sweet wrote (shortened):
> All we can do is our best to detect the correct default size.  If you
> don't set the locale correctly and don't use libpaper, you'll likely get
> the wrong default size.

Of course!

Nevertheless I think currently something is still strange
because I got inconsistent results for two "lpadmin" calls
as root on the same machine, see
https://bugzilla.novell.com/show_bug.cgi?id=395760#c6

After a "su -" I think that root's enviroment should be consistent
but somehow it was different (unfortunately I cannot reproduce it).


> Time zones don't help since South America uses A4 while North America uses
> Letter. If the locale is set wrong, then the timezone info will fail for
> South American users.

Yes, see
https://bugzilla.novell.com/show_bug.cgi?id=88286#c12

The crucial information is the geographical location,
i.e. the second part of a locale name, for example:
en_GB is English for Great Britain => A4 paper
en_US is English for United States => Letter paper

I think that without an existing geographical location
(in particular for "C" or "POSIX") it is just not possible
to set another paper size than what is the default in the PPD.

Or the fallback should be at least "A4" (if avialable in the PPD)
because I think that A4 paper is more often used in the whole world
than Letter.


> ... we spent a lot of years ... dealing with thousands of users
> reporting that we were using the "wrong" default size ...

Just the same for us ;-)


> If you want, file a feature request for a DefaultPaperSize directive in
> cupsd.conf that overrides the locale and libpaper checks.  You can then
> easily set the default paper size in your installer...

Thanks!

http://www.cups.org/str.php?L2848


Kind Regards
Johannes Meixner
-- 
SUSE LINUX Products GmbH, Maxfeldstrasse 5, 90409 Nuernberg, Germany
AG Nuernberg, HRB 16746, GF: Markus Rex





More information about the cups mailing list