Taking the Ghostscript command line from my error_log of printing test.pdf out of evince to the HP LaserJet p4015 with hpcups driver and running it in a terminal window:
cat test.pdf | PPD=/etc/cups/ppd/7.ppd /usr/bin/gs -dPARANOIDSAFER -dNOPAUSE -dBATCH -dNOINTERPOLATE -sDEVICE=cups -sstdout=%stderr -sOutputFile=%stdout -sMediaType=Plain -sOutputType=0 -dDuplex -r600x600 -dMediaPosition=7 -dDEVICEWIDTHPOINTS=595 -dDEVICEHEIGHTPOINTS=841 -dcupsBitsPerColor=1 -dcupsColorOrder=0 -dcupsColorSpace=3 -dcupsRowCount=1 -dcupsRowStep=2 -dcupsInteger0=26 -scupsPageSizeName=A4 -I/usr/share/cups/fonts -c -f -_ > test.raster and then displaying test.raster with rasterview test.raster does not show any irregularity. The raster file makes the impression that it would get printed correctly. I also get correct raster files for 1111.0107.pdf. Note also that the two examples are Letter-sized PDFs, but I get the same problem with A4-sized PDFs. The problem always occure when printing PDFs from evince into the queue for the HP LaserJet p4015 with hpcups (the "bad" PPD of comment #10). So it seems to be a bug in hpcups, moving the bug to HPLIP ... I attach my error_log, consider all the jobs for the HP LaserJet p4015 (queue name "7") as having the problem and jobs for the queue name "HP- Color-LaserJet-CM3530-MFP" as not having the problem. ** Attachment added: "error_log" https://bugs.launchpad.net/ubuntu/+source/cups/+bug/872160/+attachment/2614080/+files/error_log ** Package changed: cups (Ubuntu) => hplip (Ubuntu) ** Changed in: hplip (Ubuntu) Status: Incomplete => Confirmed ** Also affects: hplip Importance: Undecided Status: New ** Changed in: hplip Status: New => Confirmed ** Changed in: hplip (Ubuntu) Importance: Undecided => High -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/872160 Title: Printed pdfs are not centered, top margins cut off To manage notifications about this bug go to: https://bugs.launchpad.net/hplip/+bug/872160/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
