Bugzilla – Full Text Bug Listing
|Summary:||bitcmyk produces 0 length output|
|Product:||Ghostscript||Reporter:||Rick Richardson <rick.richardson>|
|Component:||Color||Assignee:||Ray Johnston <ray.johnston>|
|Status:||RESOLVED FIXED||QA Contact:||Bug traffic <tech>|
Redhat test page
Description Rick Richardson 2009-02-12 11:20:11 PST
Try: $ gs -q -dBATCH -dSAFER -dQUIET -dNOPAUSE -sPAPERSIZE=letter -g5100x6600 -r600x600 -sDEVICE=bitcmyk -dCOLORSCREEN -dMaxBitmap=500000000 '-sOutputFile=xxx.prn' test.ps; $ 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).
Comment 1 Rick Richardson 2009-02-12 11:21:53 PST
Created attachment 4793 [details] Redhat test page
Comment 2 Rick Richardson 2009-02-12 11:24:28 PST
It used to work on 8.63 and before!!!!
Comment 3 Ray Johnston 2009-02-12 14:42:48 PST
This was fixed by rev 9452 which, unfortunately did not make the 8.64 release.
Comment 4 Ray Johnston 2009-02-12 14:43:32 PST
Created attachment 4794 [details] gdevbit.c.patch This is the fix.
Comment 5 Rick Richardson 2009-02-12 15:02:35 PST
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.
Comment 6 Ralph Giles 2009-02-12 15:05:56 PST
The next scheduled release is August. We may do a interm release sooner than that, but this isn't decided.
Comment 7 Rick Richardson 2009-02-12 15:12:15 PST
$ pwd /home/rick/src/ghostscript-8.64 $ 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
Comment 8 Till Kamppeter 2009-02-18 11:14:45 PST
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 (https://bugs.edge.launchpad.net/ubuntu/+source/ghostscript/+bug/331127) and 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.