[cups.bugs] [HIGH] STR #3119: Custom PageSize broke after upgrading to Ubuntu 8.10

Pavneet Arora pavneet_arora at waroc.com
Sat Mar 7 07:41:33 PST 2009


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

[STR New]

I am not sure what the source of this problem is but it points to the
-pCustom option not being passed downstream.

First my set up:  Ubuntu 8.10 (recently upgraded from 8.04LTS with HP
LJ1020 using foo2zjs driver).  This machine has been in production for
approx 1 year without this issue having surfaced.

I had reported this on the foo2zjs forum and have a bit of investigation
it points to something in the new cups config or the Ubuntu distro.

Here is issue:

A great part of what I print out are custom paper sizes: 3x5 index cards,
envelopes, menus, etc. All have worked flawlessly. So for instance:

lp -o PageSize=Custom.4.125x9.5in -o landscape

would allow me to print on a standard No. 10 envelope by placing the
envelope in the manual feed tray with the guides brought in, which means
the paper is fed over the centreline of the paper path.

Recently I upgraded to 8.10 and now the images print on the left most side
of the page, which means custom pages no longer work; there is only a
single roller in the middle of the paper path.

After corresponding with Rick Richardson, author of foo2zjs, he discovered
the following discrepancy between Fedora 10 and Ubuntu 8.10:

[rick at kathleen ~]$ lpr -o PageSize=Custom.4.125x9.5in
~/proj/foo2zjs/testpage.ps

## Fedora 10. Works fine

[rick at kathleen ~]$ root grep foo2zjs /var/log/messages
Mar  6 14:13:20 kathleen foo2zjs-wrapper: foo2zjs-wrapper -P -z1 -L0
-r1200x600 -pCustom.297x684 -s7 -m1 -n1
Mar  6 14:13:24 kathleen foo2zjs-wrapper: gs -sPAPERSIZE=letter
-g4950x5700 -r1200x600 -sDEVICE=pbmraw -dCOLORSCREEN -dMaxBitmap=500000000
 
Mar  6 14:13:24 kathleen foo2zjs-wrapper: foo2zjs -r1200x600 -g4950x5700
-p256 -m261 -n1 -d1 -s7 -z1  -u 2x100 -l 2x100 -L 0     -P

## Ubuntu 8.10.  Note "-pCustom.297x684" on Fedora 10, but -p1 here
## This seems to be the source of the problem.
 
pavneet at darjiling:~/Software/foo2zjs$ grep foo2zjs /var/log/messages
Mar 6 15:34:36 darjiling foo2zjs-wrapper: foo2zjs-wrapper -P -z1 -L0
-r1200x600 -p1 -m1 -s7
Mar 6 15:34:36 darjiling foo2zjs-wrapper: gs -sPAPERSIZE=letter
-g10200x6600 -r1200x600 -sDEVICE=pbmraw -dCOLORSCREEN
-dMaxBitmap=500000000
Mar 6 15:34:36 darjiling foo2zjs-wrapper: foo2zjs -r1200x600 -g10200x6600
-p1 -m1 -n1 -d1 -s7 -z1 -u 192x96 -l 192x96 -L 0 -P

Any help you might be able to offer would be greatly appreciated.

Thanks.

Link: http://www.cups.org/str.php?L3119
Version: 1.3.9





More information about the cups mailing list