Trying to Print edge to edge with HP9040

Asked by kurtkbee

Hello All,
I am trying to print to a HP9040 via cups using hplip-2.8.2.
I am using Centos 4.6 (Redhat Enterprise 4.6 compatible) and i have manually upgraded the system to use cups-1.3.5,ghostscript-8.60 and foomatic-db-20080211.

While i can print standard documents and the cups test page just fine (my PPD is HP-LaserJet_9040_MFP-hpijs.ppd), we have special reports (generated through Oracle 10g Report Server) that must carry an ECG image that cannot be improperly scaled (needed to show exactly 5mm between each grid, while on a 8.5x11) and the printout cuts 3 sides of the image.

The problem is also on windows when printing these reports, however we can turn on edge to edge printing (under advanced options for printer driver) and it then prints the document perfectly.
Linux does not support this feature and when i use (the CUPS) 0 margin options it does nothing (i believe the Imagable area in the PPD over-rides it).

I should also state that when i set CUPS to use the raw socket and raw driver the printer is able to produce perfect output (since the HP9040 has builtin filters for PDF).

The issue is that we have a Java based system that will print (either to the US or UK) via a wrapper script and in raw mode (no PPD) i am concerned that i will not be able to get accurate job status reports (pending,waiting,complete,stopped,canceled,etc) from the printer via cups (as tested by the wrapper) since it is not using the HP driver and PPD.
I am really hoping that i can get help configuring the linux print driver to do edge to edge printing or .

<Printer HP9040>
Info HP 9040DN
Location My desk
DeviceURI socket://10.20.11.10:9100
State Idle
StateTime 1203564575
Accepting Yes
Shared Yes
JobSheets none none
QuotaPeriod 0
PageLimit 0
KLimit 0
OpPolicy default
ErrorPolicy stop-printer
</Printer>

PPD location :: /etc/cups/ppd/HP9040.ppd

Also (may be of importance) When i use the hp backend i get an error (hence the use of socket in cups printer.conf above) should the URI be defined as " DeviceURI hp://10.20.11.10:9100 " ?

Question information

Language:
English Edit question
Status:
Solved
For:
HPLIP Edit question
Assignee:
No assignee Edit question
Solved by:
kurtkbee
Solved:
Last query:
Last reply:
Revision history for this message
kurtkbee (kpalmer) said :
#1

Update, I just tested the HP LaserJet 9040 9050 MFP Postscript driver and it works much better !! will test with the improved ECG report to see if all is well.
PPD info below (I noticed it says "for Macintosh" so i hope it does not have a problem when used with cups, but it came with the foomatic-db that i installed or with the HPLIP not sure)

*%========================================================
*% PPD for HP LaserJet 9040 9050 MFP
*% For Macintosh
*%========================================================

*%=================================================
*% PPD File Version Information
*%=================================================
*FileVersion: "1.0.0 X"
*HPBuildNumber: "003"
*FormatVersion: "4.3"
*LanguageEncoding: ISOLatin1
*LanguageVersion: English
*PCFileName: "HP9050_H.PPD"
*APDialogExtension: "/Library/Printers/hp/PDEs/hpColorOptions.plugin"
*APDialogExtension: "/Library/Printers/hp/PDEs/hpEdgeToEdge.plugin"
*APDialogExtension: "/Library/Printers/hp/PDEs/hpFinishing.plugin"
*APDialogExtension: "/Library/Printers/hp/PDEs/hpImageQuality.plugin"
*APDialogExtension: "/Library/Printers/hp/PDEs/hpProofAndPrint.plugin"
*APPrinterIconPath: "/Library/Printers/hp/Icons/HP LaserJet 9000 MFP.icns"

*%=================================================
*% Product Version Information
*%=================================================
*ModelName: "HP LaserJet 9040 9050 MFP"
*ShortNickName: "HP LaserJet 9040 9050 MFP"
*NickName: "HP LaserJet 9040 9050 MFP Postscript (recommended)"
*Product: "(hp LaserJet 9050 MFP)"
*Product: "(hp LaserJet 9040 MFP)"
*Manufacturer: "HP"

*PSVersion: "(3010.107) 0

.......

Will close item if confirmed as fixed tomorrow.

Revision history for this message
kurtkbee (kpalmer) said :
#2

issue corrected by using correct PPD and editing (carefully) value for Imageable area noting that the multiplier for "points" is 72