PCL image generation - Blank lines "skipped" !

View: New views
1 Messages — Rating Filter:   Alert me  

PCL image generation - Blank lines "skipped" !

by Garnier, Antoine :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.

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.

 

 

 


_______________________________________________
bug-pcl mailing list
bug-pcl@...
http://www.ghostscript.com/mailman/listinfo/bug-pcl
LightInTheBox - Buy quality products at wholesale price!