[bug-pcl] raster graphics

Brian K. White brian at aljex.com
Fri Sep 16 13:34:48 PDT 2005


Hi,

Please see the following files:
http://nj.aljex.com/bkw/pcl/color/

logo.pcx - source image
logo.pcl - pcl version of logo.pcx
invoice.pcl - captured print job that has the logo embedded in it
invoice.pdf - output of "pcl2pdf invoice.pcl invoice.pdf"

Printing logo.pcl and invoice.pcl to a color laser works well. 
(size/position of the logo is slightly off but that's not important)

The pdf file though looks like the raster image was scaled down to 75 dpi

I'm guessing about the exact number 75. The hint comes from the fact that I 
used "convert logo.pcx logo.pcl"  from ImageMagick to create the pcl, and it 
had esc*r75R near the beginning.
I had to manually edit the pcl to remove the leading & trailing escE's and 
change 75 to 300.
Without touching anything else in the pcl it printed nicely at 300 dpi and 
came out the right overall size in inches on paper.

I beleive convert uses gs in the background to actually do the work in this 
case, so I'm guessing it's something common between gs and pcl6.

How do I stop it from scaling raster graphics down and pixellating like 
that?
I tried adding -r300 to the pcl6 command line in pcl2pdf. It is not making 
any effect I can sense. Doesn't appear to have broken anything at least.

Thanks

Brian K. White  --  brian at aljex.com  --  http://www.aljex.com/bkw/
+++++[>+++[>+++++>+++++++<<-]<-]>>+.>.+++++.+++++++.-.[>+<---]>++.
filePro  BBx    Linux  SCO  FreeBSD    #callahans  Satriani  Filk!



More information about the bug-pcl mailing list