I propose this fix also as an SRU for Jaunty. debdiff attached and package uploaded to jaunty-proposed and waiting for approval.
To reproduce:
Currently the PPD file for the HP LaserJet 1200 contains broken FastRes and EconoMode options as shown in
https://bugs.edge.launchpad.net/ubuntu/+source/foomatic-db-engine/+bug/361772/comments/38
With the fix applied they will get generated correctly and they look like
*OpenUI *FastRes/Fast Res.: PickOne *FoomaticRIPOption FastRes: enum JCL A *OrderDependency: 100 AnySetup *FastRes *DefaultFastRes: FromPrintoutMode *FastRes FromPrintoutMode/Controlled by 'Printout Mode': "%% FoomaticRIPOptionSetting: FastRes=@PrintoutMode" *FastRes Off/Off: "%% FoomaticRIPOptionSetting: FastRes=Off" *FoomaticRIPOptionSetting FastRes=Off: "SET BITSPERPIXEL=1" *FastRes On/On: "%% FoomaticRIPOptionSetting: FastRes=On" *FoomaticRIPOptionSetting FastRes=On: "SET BITSPERPIXEL=2" *CloseUI: *FastRes
*OpenUI *Economode/Toner Saving: PickOne *FoomaticRIPOption Economode: enum JCL A *OrderDependency: 100 AnySetup *Economode *DefaultEconomode: FromPrintoutMode *Economode FromPrintoutMode/Controlled by 'Printout Mode': "%% FoomaticRIPOptionSetting: Economode=@PrintoutMode" *Economode Off/Off: "%% FoomaticRIPOptionSetting: Economode=Off" *FoomaticRIPOptionSetting Economode=Off: "SET ECONOMODE=OFF" *Economode On/On: "%% FoomaticRIPOptionSetting: Economode=On" *FoomaticRIPOptionSetting Economode=On: "SET ECONOMODE=ON" *CloseUI: *Economode
You can quickly generate said PPD with
foomatic-ppdfile -p HP-LaserJet_1200 -d pxlmono > lj1200.ppd
With the corrected PPD foomatic-rip will not convert PDF input into PostScript any more but feed PDF directly into Ghostscript. This makes the Ghostscript bug not being triggered any more and one is able to use the EconoMode and FastRes options.
I propose this fix also as an SRU for Jaunty. debdiff attached and package uploaded to jaunty-proposed and waiting for approval.
To reproduce:
Currently the PPD file for the HP LaserJet 1200 contains broken FastRes and EconoMode options as shown in
https:/ /bugs.edge. launchpad. net/ubuntu/ +source/ foomatic- db-engine/ +bug/361772/ comments/ 38
With the fix applied they will get generated correctly and they look like
*OpenUI *FastRes/Fast Res.: PickOne e/Controlled by 'Printout Mode': "%% FoomaticRIPOpti onSetting: FastRes= @PrintoutMode" onSetting: FastRes=Off" ionSetting FastRes=Off: "SET BITSPERPIXEL=1" onSetting: FastRes=On" ionSetting FastRes=On: "SET BITSPERPIXEL=2"
*FoomaticRIPOption FastRes: enum JCL A
*OrderDependency: 100 AnySetup *FastRes
*DefaultFastRes: FromPrintoutMode
*FastRes FromPrintoutMod
*FastRes Off/Off: "%% FoomaticRIPOpti
*FoomaticRIPOpt
*FastRes On/On: "%% FoomaticRIPOpti
*FoomaticRIPOpt
*CloseUI: *FastRes
*OpenUI *Economode/Toner Saving: PickOne e/Controlled by 'Printout Mode': "%% FoomaticRIPOpti onSetting: Economode= @PrintoutMode" onSetting: Economode=Off" ionSetting Economode=Off: "SET ECONOMODE=OFF" onSetting: Economode=On" ionSetting Economode=On: "SET ECONOMODE=ON"
*FoomaticRIPOption Economode: enum JCL A
*OrderDependency: 100 AnySetup *Economode
*DefaultEconomode: FromPrintoutMode
*Economode FromPrintoutMod
*Economode Off/Off: "%% FoomaticRIPOpti
*FoomaticRIPOpt
*Economode On/On: "%% FoomaticRIPOpti
*FoomaticRIPOpt
*CloseUI: *Economode
You can quickly generate said PPD with
foomatic-ppdfile -p HP-LaserJet_1200 -d pxlmono > lj1200.ppd
With the corrected PPD foomatic-rip will not convert PDF input into PostScript any more but feed PDF directly into Ghostscript. This makes the Ghostscript bug not being triggered any more and one is able to use the EconoMode and FastRes options.