Closed
Bug 144625
Opened 22 years ago
Closed 17 years ago
Default paper size on Linux should use LC_PAPER
Categories
(Core :: Printing: Output, enhancement)
Tracking
()
RESOLVED
DUPLICATE
of bug 147419
People
(Reporter: james, Assigned: roland.mainz)
References
Details
From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0rc1) Gecko/20020417 BuildID: 2002041717 In recent versions of glibc (>=2.2, I think), there is support for retrieving the default paper size associated with the locale (and can be overriden with the LC_PAPER environment variable). Using this would be a good way to ensure that people outside of North America (and have their locales set correctly) see ISO paper sizes rather than american ones. The paper size can be retrieved with the nl_langinfo() function (must include langinfo.h). The two keys to pass as the argument _NL_PAPER_HEIGHT and _NL_PAPER_WIDTH. Unlike every other key passed to nl_langinfo, the glibc developers decided that these two should return an int cast as a (char *) instead of a string, like the man pages say it should. The following has a small example of its use: http://sources.redhat.com/ml/libc-alpha/2001-04/msg00187.html The result is in millimeters.
Updated•22 years ago
|
Status: UNCONFIRMED → NEW
Ever confirmed: true
Comment 2•20 years ago
|
||
*** Bug 249432 has been marked as a duplicate of this bug. ***
Comment 3•18 years ago
|
||
*** Bug 332210 has been marked as a duplicate of this bug. ***
Comment 4•18 years ago
|
||
(In reply to comment #1) > Taking myself... > So someone has been working on this since 2002...will it ever be fixed??
Comment 5•18 years ago
|
||
*** Bug 281057 has been marked as a duplicate of this bug. ***
Comment 6•18 years ago
|
||
*** Bug 326305 has been marked as a duplicate of this bug. ***
Comment 7•18 years ago
|
||
Can someone please mark this as duplicate of #147419 which has been assigned ?
Comment 8•18 years ago
|
||
Sorry about the confusion, please ignore my last comment. #147419 should be marked as duplicate of this one, since this one's been assigned. Tx.!
Comment 9•18 years ago
|
||
It's either too late or someone slipped drugs in my last coffee ;) I hate to say #7 was correct, so asking again to mark this as duplicate of #147419.
Comment 10•17 years ago
|
||
Roland, you can give us any hints on what to do in order to fix this?
Updated•17 years ago
|
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → DUPLICATE
See Also: → https://launchpad.net/bugs/80394
You need to log in
before you can comment on or make changes to this bug.
Description
•