If I send a file to the ljet4 driver with this line at the top: << /PageSize [279 639]>> setpagedevice The driver figures out the page size supported by the printer that is closest to the specified page size and tells the printer to use that page size automatically in the PCL output. The hpijs driver doesn't do this. In fact, it apparently doesn't even set the paper size when I specify "-o PageSize=Env10" to the "lp" command when printing through the hpijs driver. Badness.
Reported upstream. Could you put 'debug: 1' into /etc/foomatic/filter.conf and try again, then check the /tmp/foomatic-rip.ps file? Perhaps foomatic is mangling the PageSize.
It's not foomatic. I printed a test with a different paper size to the ljet4 driver, which worked. Then I switched to the hpijs driver and it failed. Then I switched back to the ljet4 driver *and printed /tmp/foomatic-rip.ps from when I printed to the hpijs driver*, and that file printed with the correct paper size. So clearly when the data gets to /tmp/foomatic-rip.ps it is still valid; I'm pretty certain it's the hpijs driver which isn't handling paper sizes properly. And I say that as the person who wrote the paper-size-handling code in the ljet driver :-).
The upstream maintainer says that there is a known bug in PCL generation for envelope sizes: it uses custom paper size instead of unique envelope size. Although it works fine for inkjets the LaserJets don't like it. Will be fixed in the next release apparently.
I'm not sure, if it's the same bug, but I have similar problem with printing A4 page. Printing stops at 260 mm (A4 page is approx. 300 mm). I have HP DeskJet 5550, and I'm using hpijs driver as well.
I too get this problem on my HP Deskjet 1280 with A4 paper. The print gets chopped at something like US Letter size (length). Width seems ok. Using Fedora Core 3, completely up to date as of 3/12/2005. So it's been nearly a couple of years and this one is still hanging around (if it is the same bug, that is.) Got cups-1.1.22-0.rc1.8.7 and hpijs-1.6-2 I also tried lying about the paper sizes in the .ppd file to no avail. And I downloaded the latest .ppd too.
Correction, the incorrect size is somewhere between A4 and Letter size. Also, when I build the latest HPLIP package 0.9.7, presumably that replaces the hpijs-1.6.2 driver doesn't it. Well, the sizing problem is still there. It is also there in Core 4 too. BTW: The ppd file *is* set up to do A4, not Letter size!
Based on the date this bug was created, it appears to have been reported against rawhide during the development of a Fedora release that is no longer maintained. In order to refocus our efforts as a project we are flagging all of the open bugs for releases which are no longer maintained. If this bug remains in NEEDINFO thirty (30) days from now, we will automatically close it. If you can reproduce this bug in a maintained Fedora version (7, 8, or rawhide), please change this bug to the respective version and change the status to ASSIGNED. (If you're unable to change the bug's version or status, add a comment to the bug and someone will change it for you.) Thanks for your help, and we apologize again that we haven't handled these issues to this point. The process we're following is outlined here: http://fedoraproject.org/wiki/BugZappers/F9CleanUp We will be following the process here: http://fedoraproject.org/wiki/BugZappers/HouseKeeping to ensure this doesn't happen again.
This bug has been in NEEDINFO for more than 30 days since feedback was first requested. As a result we are closing it. If you can reproduce this bug in the future against a maintained Fedora version please feel free to reopen it against that version. The process we're following is outlined here: http://fedoraproject.org/wiki/BugZappers/F9CleanUp