I also filed this on cups, and Michael Sweet suggests that is is a
distro issue:

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

since  the version of cups being used on Fedora 10 and Ubuntu 8.10 are
identical:  1.3.9.

Here is the relevant section of the message file:

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

## Fedora 10. Works fine

[r...@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.

pavn...@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

In essence, the Custom PageSize isn't being passed on.


Based on a suggestion of Michael Sweet's to activate "cupsctl --debug-loggin" 
after posting on cups forums, I discovered the following in 
/var/log/cups/error_log:

D [07/Mar/2009:22:53:50 -0500] [Job 486] Found: %%BeginFeature: *CustomPageSize 
True
D [07/Mar/2009:22:53:50 -0500] [Job 486] Unknown option CustomPageSize=True foun
d in the job
D [07/Mar/2009:22:53:50 -0500] [Job 486] Found: %% FoomaticRIPOptionSetting: Pag
eSize=Custom
D [07/Mar/2009:22:53:50 -0500] [Job 486] Option: PageSize=Custom
D [07/Mar/2009:22:53:50 -0500] [Job 486] --> Invalid option setting found in 
job 

Any suggestions?

-- 
Custom PageSize has broken with lp/foo2zjs after upgrade to 8.10
https://bugs.launchpad.net/bugs/338999
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to