Description of problem: PPD file generated by system-config-printer or by CUPS inself for HP Lasejet 5P (6L, 4) have entries for halftoning. It realy changes in PPD file (*Default...), if changed ny UI. But in printout nothing changes. Moreover: if intercept PS to file (by using *FoomaticRIPCommandLine: "cat > /tmp/test.ps" ) no entries of PS code, corresponding to halftones and some other things (like pagesize) detected. Version-Release number of selected component (if applicable): system-config-printer-0.7.8-1 cups-1.2.0-6 foomatic-3.0.2-35.bcx (added more halftones for better diagnostic). How reproducible: Always. Steps to Reproduce: 1. Setup any printer with ljet4 foomatic driver (recomended). 2. Change halftone 3. Print any page with gray areas. Actual results: The same printout with different halftones. Expected results: CUPS must insert PS codes for entries from PPD file, so output must be different with different halftones. Additional info: It seems, that not only halftone options is broken, but any with PS code.
Created attachment 129849 [details] generated PDD file
Tested with cups-1.2.1-2 : same result.
> Moreover: if intercept PS to file > (by using *FoomaticRIPCommandLine: "cat > /tmp/test.ps" ) > no entries of PS code, corresponding to halftones and some other > things (like pagesize) detected. If you intercept the PostScript like that, it's no wonder -- foomatic-rip is the program that adds those bits of PostScript in! :-) Instead, please edit /etc/foomatic/filter.conf and add the line: debug: 1 Then you will find a /tmp/foomatic-rip.ps which is the PostScript with PPD additions. Do you still see no PPD PostScript snippets in the generated PostScript?
Created attachment 130026 [details] log from foomatic-rip
Created attachment 130027 [details] Postscript file in /tmp
Tested: the same results (ps and log attached). All postscript as in previos test, as foomatic-rip calls *FoomaticRIPCommandLine after inserting features. As seen in log and PS, code for "resolution=600dpi" inserted, but code for halftoning - not. Log shows, that section about halftoning detected in PPD, but no more. Some more minor error: foomatic-rip set bad locale for external programs (gs eat it, but perl complains).
The difference between the halftoning algorithm option and the resolution option is that they go into different setup sections. The PageSetup section is missing its options. This is a pstops bug; the 1.1.23 CUPS pstops filter works fine. I'll report it upstream.
Reported upstream: http://cups.org/str.php?L1740
Should be fixed in 1.2.1-1.4, available currently at: http://people.redhat.com/twaugh/tmp/cups-fc5/
Tested 1.2.1-1.4: works fine! I suppose we can close this bug. P.S. Do you need path for foomatic for more halftones?
Please verify that the problem remains fixed with this new test update: https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=192809 You should be able to fetch it using this command, as root: yum --enablerepo=updates-testing update 'cups*' Thanks.
Anyway, works here.