Custom PageSize has broken with lp/foo2zjs after upgrade to 8.10
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
CUPS |
Invalid
|
Undecided
|
Unassigned | ||
cups (Ubuntu) |
Fix Released
|
Medium
|
Unassigned | ||
foomatic-filters (Ubuntu) |
Fix Released
|
Medium
|
Lars Karlitski |
Bug Description
Binary package hint: cups
I have been using my HP LJ1020 reliably for many months under Ubuntu 8.04. 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=
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.
I reported this to Rick Richardson, author of foo2zjs at this thread:
http://
With his help, I believe that we have determined that cups is no longer handling the 'PageSize=
This was working properly in 8.04 LTS.
Thanks
Related branches
description: | updated |
Changed in cups: | |
assignee: | nobody → larsuebernickel |
Changed in foomatic-filters: | |
importance: | Undecided → Medium |
status: | New → Triaged |
affects: | foomatic-filters (Ubuntu) → cups (Ubuntu) |
Changed in foomatic-filters (Ubuntu): | |
status: | In Progress → Fix Committed |
Changed in cups (Ubuntu): | |
status: | Incomplete → Fix Released |
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:
[rick@kathleen ~]$ lpr -o PageSize= Custom. 4.125x9. 5in ~/proj/ foo2zjs/ testpage. ps
## Fedora 10. Works fine
[rick@kathleen ~]$ root grep foo2zjs /var/log/messages 500000000
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=
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@ darjiling: ~/Software/ foo2zjs$ grep foo2zjs /var/log/messages 500000000
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=
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 2009:22: 53:50 -0500] [Job 486] Unknown option CustomPageSize=True foun 2009:22: 53:50 -0500] [Job 486] Found: %% FoomaticRIPOpti onSetting: Pag 2009:22: 53:50 -0500] [Job 486] Option: PageSize=Custom 2009:22: 53:50 -0500] [Job 486] --> Invalid option setting found in job
D [07/Mar/
d in the job
D [07/Mar/
eSize=Custom
D [07/Mar/
D [07/Mar/
Any suggestions?