[bug-pcl] Re: Page Format Problems

Mark Neyhart Mark_Neyhart at legis.state.ak.us
Tue Jun 6 17:55:35 PDT 2006


I have had the same two problems.

1)  I haven't figured this out.

2)  For me, the -sPAPERSIZE option is ignored by pcl6.  As a result I get the default page size of 
letter.  You can fix it by putting a paper size code in your PCL file.  The code you want is
ESC&l26A where ESC is hex 1B.  This selects paper size A4.  If you put this code right after the 
ESC&l1H (paper source) it should work properly.

Mark Neyhart

Using ghostpcl, there are two problems:
> 1) The resulting PDF is shown in Portrait instead of Landscape mode in Adobe
> Viewer
> 2) The right margin is cropped. 
> (Command used: pcl6 -dNOPAUSE -sDEVICE=pdfwrite -sOutputFile=quer.pdf
> -sPAPERSIZE=a4 quer.pcl)
> 



More information about the bug-pcl mailing list