Use -pclcmd arguments to control page orientation and paper size during PCL to PDF Conversion

Hello,

I am trying to create a pdf from a pcl file. I need to change the orientation of the output file and use the command line tool. I have not been able to get it to work thus far. Options tried… various combination including registration key, without, adding quotes. The product does not work the way your documentation shows it working with the "-pclcmd" argument.

From your documentation,

pcltool.exe -pclcmd "\"-J@PJL SET PAPER=A4\" \"-J@PJL SET DEFAULT ORIENTATION = LANDSCAPE\"" C:\in.pcl C:\out.pdf

-$ XXXXXXXXXXXXXXXXXXXX -pclcmd "\"-J@PJL SET PAPER=A4\" \"-J@PJL SET DEFAULT ORIENTATION = LANDSCAPE\" C:\Summit\DRS\Reports1\MARPTM4S4290.pcl C:\Users\Desktop\Testing\Testing Output\MARPTM4S4290.pdf

-pclcmd "\"-J@PJL SET PAPER=A4\" \"-J@PJL SET DEFAULT ORIENTATION = LANDSCAPE\" C:\Summit\DRS\Reports1\MARPTM4S4290.pcl C:\Users\Desktop\Testing\Testing Output\MARPTM4S4290.pdf

-$ XXXXXXXXXXXXXXXXXXXX -pclcmd "\"-J@PJL SET PAPER=A4\" \"-J@PJL SET DEFAULT ORIENTATION = LANDSCAPE\" "C:\Summit\DRS\Reports1\MARPTM4S4290.pcl" "C:\Users\Desktop\Testing\Testing Output\MARPTM4S4290.pdf"

Customer
============================================
I was not working here when the product was purchased. I am working on getting the order ID but in the meantime this is the file version info. If the command line arguments are different for versions can you point me in the direction of your documentation that corresponds to my version.

Customer
============================================
You may choose A3 paper to try again, for example,

"C:\Program Files (x86)\VeryPDF PCL Converter v2.6\pcltool.exe" -pclcmd "\"-J@PJL SET PAPER=A3\"" D:\downloads\MARPTM4S4290.pcl D:\downloads\MARPTM4S4290.pcl.pdf

please look at following PDF file, this PDF file was created by above command line, will this PDF file okay to you?

VeryPDF
============================================
Yes the command works can you set more than one option using the command like the paper size and orientation? I am not able to get it working.

"C:Program Files (x86)VeryPDF PCL Converter v2.6pcltool.exe" -pclcmd ""-J@PJL SET PAPER=A3"" ""-J@PJL ORIENTATION=LANDSCAPE"" D:\downloadsMARPTM4S4290.pcl D:\downloadsMARPTM4S4290.pcl.pdf

Thanks,
Customer
============================================
Thanks for your message, you may run following command line to try again,

pcltool.exe -pclcmd "\"-J@PJL SET PAPER=A3\" \"-J@PJL SET DEFAULT ORIENTATION = LANDSCAPE\"" C:\in.pcl C:\out.pdf

Please look at attached screenshot for example,

image

VeryPDF
============================================

Yes this has resolved my issue. You may close this support ticket.

Thanks and have a great week,

Customer
============================================

VN:F [1.9.20_1166]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.20_1166]
Rating: 0 (from 0 votes)

Related Posts

Leave a Reply

Your email address will not be published. Required fields are marked *


Verify Code   If you cannot see the CheckCode image,please refresh the page again!