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
2
Affects Status Importance Assigned to Milestone
hplip (Ubuntu)
Fix Released
Undecided
Unassigned

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.

Tags: patch
Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

The problem does not occur on the HP PhotoSmart C8100.

Revision history for this message
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

@PJL SET BINDING=LONGEDGE

or

@PJL SET BINDING=SHORTEDGE

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
Revision history for this message
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.

Revision history for this message
Till Kamppeter (till-kamppeter) wrote : Re: Short-edge duplex does not work with HPIJS if duplex is PJL-controlled (most non-PostScript laser printers)

Fixed this in the Ubuntu Intrepid package hplip 2.8.7 0ubuntu3.

Mathew Hodson (mhodson)
affects: hplip → hplip (Ubuntu)
Changed in hplip (Ubuntu):
status: Confirmed → Fix Released
tags: added: patch
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.