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
** Attachment added: "error_log" https://bugs.launchpad.net/ubuntu/+source/foomatic-db/+bug/1184665/+attachment/3692173/+files/error_log -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to foomatic-db in Ubuntu. https://bugs.launchpad.net/bugs/1184665 Title: Foomatic/ljet4d has duplex printing always ON, short-edge duplex not available at all Status in GS-GPL - GPL Ghostscript: Unknown Status in “foomatic-db” package in Ubuntu: Incomplete Status in “ghostscript” package in Ubuntu: Incomplete 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) Lpstat: 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 PpdFiles: 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 BRFAX: Brother BRMFCFAX for 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) dmi.bios.date: 07/12/2011 dmi.bios.vendor: American Megatrends Inc. dmi.bios.version: U36SD.205 dmi.board.asset.tag: ATN12345678901234567 dmi.board.name: 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: dmi.product.name: U36SD dmi.product.version: 1.0 dmi.sys.vendor: ASUSTeK Computer Inc. To manage notifications about this bug go to: https://bugs.launchpad.net/gs-gpl/+bug/1184665/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp