paper format in lpoptions is disregarded
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cupsys (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: cupsys-client
When creating a printer with gnome-cups-manager, the "US Letter" paper size is choosen as default since this is what all users will want anyway.
However, some obscure parts of the world uses another paper format system (IEC/ISO 216) and some strange users might want to change paper format to reflect this.
When entering the gnome-cups-manager and edit the paper format properties of a printer, it creates the file $HOME/.
The content of the lpoptions file could look like this:
Dest LaserJet-
Now, the difference between the "PageSize" option and the "PageRegion" option is probably obvious for all those hacking ppd files from memory, but I have no idea.
However, when entering both of these options, only the last one of them is reflected when issuing "lpoptions -l". But worse, none of them are regarded when printing from (for instance) the Document Viewer "evince". Printing from a non-gnome application works, OpenOffice has been verified to work after configuring that specific application for A4.
Version of cupsys-client is 1.2.0-0ubuntu5.
I don't know if this is a bug or a feature to help people using the "Letter" format. I don't even know why the paper size is defined in 3(+n?) places:
The ppd file
/etc/papersize
$HOME/.
Thanks for your bug report.
Can you try if you still have this problem in Dapper 6.06 LTS after
applying the patch suggested in bug #34112.
Test packages with the patch applied (amd64 and i386, and source) can be
found here (thanks to Martin Pitt):
deb http:// people. ubuntu. com/~pitti/ packages/ libgnomeprint/ ./ people. ubuntu. com/~pitti/ packages/ libgnomeprint/ ./
deb-src http://
just add this to /etc/apt/ sources. list, sudo apt-get update, and sudo apt-get upgrade.
Let us know if it works!