[bug-pcl] Problems when converting PCL to PDF

Yuan Liu yuan.liu at formtrap.com
Mon Feb 20 16:53:37 PST 2006


Hello,

First of all, I really appreciate the work that is done for ghostpcl, it
works much better than most commercial pcl processing software. 

I am currently trying to convert some of the pcl images outputted by our
program into pdf by using the pdfwrite device. It seems I keep hitting the
same or similar problems when trying to convert a colour pcl into a pdf. It
all seems related to wrong number of arguments for the 'setcolor' command in
pdf (at least that is what I see when I open the pdf in Adobe). I have
attached some examples with this email (colour-line.pcl, colour-line.pdf,
in1.pcl and out1.pdf).

There is also a problem when converting pcl that contains text underline.
The underline disappears when converted to pdf. See attachment underline.pcl
and underline.pdf.  

If this is a bug, is there already a fix out there? If not can anyone point
me to the relevant section of the source code? If it is not a bug can anyone
tell me what the problem is please. Any help will be greatly appreciated.

Yuan Liu
-------------- next part --------------
A non-text attachment was scrubbed...
Name: colour-line.pdf
Type: application/pdf
Size: 46926 bytes
Desc: not available
Url : http://ghostscript.com/pipermail/bug-pcl/attachments/20060221/13fdde76/colour-line-0001.pdf
-------------- next part --------------
A non-text attachment was scrubbed...
Name: colour-line.pcl
Type: pclfile/octet-stream
Size: 44446 bytes
Desc: not available
Url : http://ghostscript.com/pipermail/bug-pcl/attachments/20060221/13fdde76/colour-line-0001.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: underline.pdf
Type: application/pdf
Size: 86157 bytes
Desc: not available
Url : http://ghostscript.com/pipermail/bug-pcl/attachments/20060221/13fdde76/underline-0001.pdf
-------------- next part --------------
A non-text attachment was scrubbed...
Name: underline.pcl
Type: pclfile/octet-stream
Size: 67199 bytes
Desc: not available
Url : http://ghostscript.com/pipermail/bug-pcl/attachments/20060221/13fdde76/underline-0001.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: in1.pcl
Type: pclfile/octet-stream
Size: 78660 bytes
Desc: not available
Url : http://ghostscript.com/pipermail/bug-pcl/attachments/20060221/13fdde76/in1-0001.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: out1.pdf
Type: application/pdf
Size: 389833 bytes
Desc: not available
Url : http://ghostscript.com/pipermail/bug-pcl/attachments/20060221/13fdde76/out1-0001.pdf


More information about the bug-pcl mailing list