[bug-pcl] PCL image generation - Blank lines "skipped" !
Garnier, Antoine
agarnier at cincom.com
Wed Apr 19 08:37:15 PDT 2006
Hello,
It seems that GhostPCL is skipping < blank lines > during a conversion
from PCL to PCL.
Here is my context: I have a color PCL image, and need to convert it as
greyscale.
In order to process this conversion, I'm using the "pcl6.exe" executable
(I'm working on a Windows Platform, and compile the 1.41 version of
GhostPCL).
Here is my command line:
pcl6 -PPCL5C -sDEVICE=ljet4 -sPAPERSIZE=A4 -dFIXEDMEDIA
-sOutputFile=GREY_OUTPUT.pcl -r300 -dQUIET -dNOPAUSE INPUT.pcl
The input image is a logo, which is surrounded by white pixels.
When I convert the input PCL file, the "blank lines" at the top of the
image seem to be "skipped" by GhostPCL !
GhostPCL seems to delete the "blank" data, and introduces a "Relative
vertical move" command in the output PCL file !
For example:
If the "original" image has '45' lines of white pixels before non-white
data, GhostPCL skips the blanks and adds this instruction: [ ESC * p
+233 Y ] - Relative vertical move : 233 dots
My questions are:
- How to keep "white" data in the output file and avoid
GhostPCL to add "relative vertical moves" ?
- If not possible: how does GhostPCL "counts" the white lines ?
(on my example : how does it determines a vertical move of '233' ?)
- Does someone know another way to convert PCL files to
greyscale ?
Thanks in advance.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://ghostscript.com/pipermail/bug-pcl/attachments/20060419/3b6f7f36/attachment.html
More information about the bug-pcl
mailing list