Foomatic/ljet4d has duplex printing always ON, short-edge duplex not available at all

Bug #1184665 reported by Fiorenzo De Santis on 2013-05-27
This bug affects 1 person
Affects Status Importance Assigned to Milestone
foomatic-db (Ubuntu)
ghostscript (Ubuntu)

Bug Description

I have a Brother HL-2270DW laser printer and I'm using Generic PCL drivers since the official drivers by Brother suffer from issues in managing print margins.

Foomatic/ljet4d and Foomatic/ljet4 have good printing quality and they handle the print margins correctly but Foomatic/ljet4d has duplex printing always ON regardless of the option "Double sided-printing", on the contrary Foomatic/ljet4 has the duplex always OFF.

Using CUPS web interface to set duplex doesn't help.

At the moment I'm using both drivers, one for duplex printing and the other for plain printing.

Following directions in Debugging Printing Problems, I've enabled "Save debugging information for troubleshooting" but I have not captured any print jobs because in this case it would be useless.

I have just printed a text file with duplex=OFF (Foomatic/ljet4d) but the printer performed a duplex print.

ProblemType: Bug
DistroRelease: Ubuntu 13.04
Package: cups 1.6.2-1ubuntu7
ProcVersionSignature: Ubuntu 3.8.0-22.33-generic 3.8.11
Uname: Linux 3.8.0-22-generic x86_64
ApportVersion: 2.9.2-0ubuntu8
Architecture: amd64
Date: Mon May 27 18:34:57 2013
InstallationDate: Installed on 2013-03-16 (72 days ago)
InstallationMedia: Ubuntu 13.04 "Raring Ringtail" - Alpha amd64 (20130315)
 device for BRFAX: lpd://BRW002258EF8326/BINARY_P1
 device for HL2270DW: lpd://BRW00225892D671/BINARY_P1
 device for MFCJ6510DW: lpd://BRW002258EF8326/BINARY_P1
 device for PCL_HL-2X: lpd://BRW00225892D671/BINARY_P1
 device for PCL_HL-2X__Duplex: lpd://BRW00225892D671/BINARY_P1
MachineType: ASUSTeK Computer Inc. U36SD
MarkForUpload: True
Papersize: a4
 HL2270DW: Brother HL2270DW for CUPS
 PCL_HL-2X__Duplex: Generic PCL 6/PCL XL Printer Foomatic/ljet4d
 PCL_HL-2X: Generic PCL 6/PCL XL Printer Foomatic/ljet4
 MFCJ6510DW: Brother MFC-J6510DW CUPS
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.8.0-22-generic root=UUID=ec9aa77a-fa22-4668-b846-38058c29cf00 ro quiet splash vt.handoff=7
SourcePackage: cups
UpgradeStatus: No upgrade log present (probably fresh install) 07/12/2011
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: U36SD.205
dmi.board.asset.tag: ATN12345678901234567 U36SD
dmi.board.vendor: ASUSTeK Computer Inc.
dmi.board.version: 1.0
dmi.chassis.asset.tag: No Asset Tag
dmi.chassis.type: 10
dmi.chassis.vendor: ASUSTeK Computer Inc.
dmi.chassis.version: 1.0
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvrU36SD.205:bd07/12/2011:svnASUSTeKComputerInc.:pnU36SD:pvr1.0:rvnASUSTeKComputerInc.:rnU36SD:rvr1.0:cvnASUSTeKComputerInc.:ct10:cvr1.0: U36SD
dmi.product.version: 1.0
dmi.sys.vendor: ASUSTeK Computer Inc.

Fiorenzo De Santis (fiod3s) wrote :
Fiorenzo De Santis (fiod3s) wrote :

Footmatic/ljet4d PPD

Fiorenzo De Santis (fiod3s) wrote :

Footmatic/ljet4 PPD

summary: - Footmatic/ljet4d has duplex printing always ON
+ Foomatic/ljet4d has duplex printing always ON
description: updated

The problem of ljet4 alwyas giving one-sided printing and ljet4d always giving duplex printing can be easily solved in Foomatic, but the problem should also get fixed in Ghostscript so that standard PostScript methods for using duplex get working.

Can you try the ljet4d driver and there select the long-edge and short-edge versions of duplex printing. Does this at least correctly work?

affects: cups (Ubuntu) → foomatic-db (Ubuntu)
Changed in foomatic-db (Ubuntu):
importance: Undecided → High
status: New → Incomplete
Changed in ghostscript (Ubuntu):
status: New → Incomplete
importance: Undecided → High
Fiorenzo De Santis (fiod3s) wrote :

long-edge works, short-edge doesn't work, it appears that the driver always uses long-edge!

Till Kamppeter (till-kamppeter) wrote :

Florenzo, the Ghostscript developers told me that your printer also supports PCL-XL, so try to set it up with Foomatic/pxlmono (use the Generic PCL-6/XL printer if your model does not have the Foomatic/pxlmono choice). This should enable control for duplex printing.

Till Kamppeter (till-kamppeter) wrote :

Reported problem upstream as and discussed it on IRC channel #ghostscript on Freenode.

summary: - Foomatic/ljet4d has duplex printing always ON
+ Foomatic/ljet4d has duplex printing always ON, short-edge duplex not
+ available at all
Till Kamppeter (till-kamppeter) wrote :

Can you somehow generate PCL 5e which makes the printer printing duplex short-edge, for example from the Windows driver )printing into a file)? If so, please attach this PCL output. The printer seems not to respect the standard PCL-5e command for duplex short-edge.

Fiorenzo De Santis (fiod3s) wrote :

foomatic/pxlmono is affected by a major issue, it doesn't print all the thin horizontal lines

Fiorenzo De Santis (fiod3s) wrote :

this is what foomatic/pxlmono is supposed to print

Fiorenzo De Santis (fiod3s) wrote :

this is the foomatic/pxlmono captured printout

Fiorenzo, your attached "printout" file comes out correctly on my HP Color LaserJet CM3530. It seems that Brother is not implementing PCL correctly.

Fiorenzo De Santis (fiod3s) wrote :

does it appear like this one? can you see all the horizontal lines?

Yes, exactly like this.

Fiorenzo De Santis (fiod3s) wrote :

yes this printer might have PCL issues, however I've just installed "UNIV-PCL-0110", the PCL drivers supplied by Brother, on Windows Seven and I can confirm that short-edge duplex printing works like magic in Windows

so at the moment I can print with ljet4 (simplex) and with ljet4d for duplex long-edge, if I need short-edge duplex I have to use the Brother driver but by printing from a .ps file to avoid incorrect margins as I've reported in

and what about that bug? I think it should be fixable, does it depend on poppler? is it related to the following old bug?

Fiorenzo De Santis (fiod3s) wrote :

finally I succeeded in short-edge duplex printing even with ubuntu, I used foomatic/hpijs-pcl5e but the good news isn't over because this driver/ppd handles printing margins correctly and it isn't scared by thin horizontal lines

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

Other bug subscribers

Remote bug watches

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