PATCH ATTACHED: Short-edge duplex does not work with HPIJS if duplex is PJL-controlled (most non-PostScript laser printers)

Bug #244295 reported by Till Kamppeter on 2008-06-30
Affects Status Importance Assigned to Milestone

Bug Description

I am using the HP Color LaserJet 3600 with HPLIP 2.8.6 on Ubuntu Intrepid. Problem is that the duplex orientation is not respected. Independent if I choose long-edge or short-edge, I get always the duplex orientation for long-edge-bound (portrait) documents.

The problem is not caused by broken PostScript input nor by a bug in foomatic-rip, as the Ghostscript command line is reported as follows in error_log (CUPS in debug mode):

gs -sstdout=%stderr -dBATCH -dPARANOIDSAFER -dQUIET -dNOPAUSE -sDEVICE=ijs -sIjsServer=hpijs -sDeviceManufacturer="HEWLETT-PACKARD" -sDeviceModel="hp color LaserJet 3600" -dDEVICEWIDTHPOINTS=595 -dDEVICEHEIGHTPOINTS=842 -dDuplex=true -dTumble=true -r600 -sIjsParams=Quality:Quality=2,Quality:ColorMode=2,Quality:MediaType=0,Quality:PenSet=2,PS:MediaPosition=7 -dIjsUseOutputFD -sOutputFile=%stdout -

It contains the "-dTumble=true" which tells the driver to use short-edge orientation.

I have tested only with the HP Color LaserJet 3600 (PPD of the proprietary plug-in). Please test also with other printer device classes.

Till Kamppeter (till-kamppeter) wrote :

The problem does not occur on the HP PhotoSmart C8100.

Till Kamppeter (till-kamppeter) wrote :

I have found out what is going wrong here: The driver (hpijs? propriatary plug-in?) misses to insert the PJL directive BINDING. Without this directive all jobs come out for the default binding setting, long edge.

If I priunt into a file, and then add the line




into the PJL header of the output file, right after "@PJL SET DUPLEX=ON", I get correct long edge or short edge duplex, depending on which line I insert.

Can you correct this for all printers where the duplex is controlled by PJL commands? Thanks.

Changed in hplip:
status: New → Confirmed
Till Kamppeter (till-kamppeter) wrote :

Duplex is PJL-controlled for the LJJetReady, LJMono, and LJColor device classes. The attached patch fixes the PJL duplex for all these printers.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers