Bugzilla – Bug 690287
bitcmyk produces 0 length output
Last modified: 2009-06-15 22:59:13 PDT
$ gs -q -dBATCH -dSAFER -dQUIET -dNOPAUSE -sPAPERSIZE=letter -g5100x6600
-r600x600 -sDEVICE=bitcmyk -dCOLORSCREEN -dMaxBitmap=500000000
$ ls -l xxx.prn
-rwxr--r-- 1 rick rick 0 2009-02-12 13:15 xxx.prn
test.ps is the Redhat test page (attached).
Created attachment 4793 [details]
Redhat test page
It used to work on 8.63 and before!!!!
This was fixed by rev 9452 which, unfortunately did not make the 8.64 release.
Created attachment 4794 [details]
This is the fix.
When is 8.65 coming out?
This affects: HP Color LaserJet 1500/1600/2600/CP1215, Samsung
CLP-300/315/600/610 etc., Xerox 6110 etc., Konica Minolta 2300 DL/2430 DL/2530
DL etc., Lexmark C500.
The next scheduled release is August. We may do a interm release sooner than
that, but this isn't decided.
$ patch -p0 <~/tmp/gdevbit.c.patch
patching file base/gdevbit.c
Hunk #1 succeeded at 653 with fuzz 2.
Hunk #2 FAILED at 671.
1 out of 2 hunks FAILED -- saving rejects to file base/gdevbit.c.rej
I can confirm the fix, but the attached patch is broken. I have simply replaced
base/gdevbit.c by the file from trunk (diff is VERY similar) and it worked.
Tested with the test case of the Ubuntu bug report
also being able again to print on the HP Color LaserJet 2600n with Rick's driver.
Thanks, Rick, for reporting this, and thanks, Ray, for supplying the patch.
Created attachment 4801 [details]
Replacement for the attached patch. This is the which I created for the Ubuntu
package of Ghostscript 8.64 and it fixes the bug.