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

kssingvo.suse kssingvo at suse.de
Tue Jun 3 06:59:58 PDT 2008


DO NOT REPLY TO THIS MESSAGE.  INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.

[STR New]

We got a bugzilla entry that cups had changed the *DefaultPageSize (and
others) from "A4" to "Letter" at installation time of new printer.

https://bugzilla.novell.com/show_bug.cgi?id=395760

I digged deeper into it, and found out that scheduller/ipp.c might doing
this: copy_model() function has some fuzzy detection of the installation
region (after the HAVE_LIBPAPER section), and it seems that it switches
the defaults to "Letter" under certain conditions.

One of these detection conditions is that the installation Language is set
to "C" or "POSIX" or "en". But software developers like to install their
system in "C", "POSIX" or "en", and they are spread over the whole world.

I think, it is a not so good idea doing this magic in this way.  - As said
a customer of us noticed that, which means it is proofed that it failed.
:-)

Solutions:
a) remove this detection (easier solution)
b) use additional attributes for it. Having a look at the current timezone
and the keyboard might be a good choice. But please note that its also
possible that people are buying US keyboards in Germany, due to various
reasons (PC gaming, developing, etc.) Keyboard is no single detection
indicator neither, only a combination of all three: keyboard, timezone,
and locale.

BTW: I'm possessing an Apple MacBook either, where an English system is
running on. So please don't restrict your solution to Linux only. :-)

Thanks.

Link: http://www.cups.org/str.php?L2846
Version: 1.3.7





More information about the cups mailing list