Bug 690416

Summary: color handling for rastergraphics inverted (on B&W device)
Product: GhostPCL Reporter: norbert.janssen
Component: PCL interpreterAssignee: Henry Stiles <henry.stiles>
Status: NOTIFIED DUPLICATE    
Severity: normal    
Priority: P2    
Version: master   
Hardware: PC   
OS: Windows 2000   
Customer: 661 Word Size: ---

Description norbert.janssen 2009-04-14 04:07:07 UTC
When printing attached 'invertedlogo.pcl' on an HP LJ4100 it prints a logo
(white box, with the black text 'MetLife').
However, the trunk GhostPDL (latest version) prints the logo inverted (i.e.
black box, with white text 'MetLife').

This is probably because color commands are handled differently on a black&white
device. I.e. it is correctly printed on a x11, and inverted on an x11mono.
Also bitdevice (our targetdevice) is inverted.

obj/pcl6 -sDEVICE=bit -r72 -sOutputFile=page.bit invertedlogo.pcl
prepend a 'P4 header' and view result as a pbm.
Comment 1 norbert.janssen 2009-04-14 04:10:28 UTC
Created attachment 4928 [details]
invertedlogo.pcl

testfile for printing a logo (rastergraphics).
Should be printing a black text: MetLife
obj/pcl6 -sDEVICE=x11 invertedlogo.pcl
or
obj/pcl6 -sDEVICE=bit -r72 -sOutputFile=tmp invertedlogo.pcl
and prepend a 'P4' header.
Comment 2 Henry Stiles 2009-04-16 13:19:51 UTC

*** This bug has been marked as a duplicate of 690327 ***
Comment 3 Marcos H. Woehrmann 2011-09-18 21:46:18 UTC
Changing customer bugs that have been resolved more than a year ago to closed.