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: fastr...@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: economo...@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.


** Attachment added: "debdiff for the SRU to fix foomatic-db-engine"
   
http://launchpadlibrarian.net/26445374/foomatic-db-engine_4.0.0-0ubuntu6_4.0.0-0ubuntu6.1.debdiff

-- 
black squares appearing instead of some letters when printing
https://bugs.launchpad.net/bugs/361772
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to