Convert PCL to PDF and specify paper size by command line

Question: Do you have a command line option for pcltools.exe that will set the paper size in the created PDF file, it seems to be outputting Letter by default but I need A4.

……………………………………………………………………………………………………….
Answer: VeryPDF PCL Converter  Command line version can be used to covert PCL to A4 paper size PDF. In the following part, I will show details about the conversion.

Step 1. Install PCL Command Line Converter

  • Download PCL Converter and then you will find there is an exe file in downloading folder. Please install it by double clicking thel exe file. Once installation finishes, please find the executable file in installation folder named pcltool.  And you can also go to Start menu and find option PCL Converter. In the sub folder, there is an option of PCL Converter Command Line version.
  • This software is Window application working both 32-bit and 64-bit, which either can be used as GUI version software or command line version software.

Step 2. Convert PCL to PDF and specify paper size

Usage: pcltool [options] <pcl-file> [<pdf-file>]

  • When you need to convert PCL to PDF and specify paper size, please refer to the following command line template.
    pcltool.exe -pclcmd "\"-J@PJL SET PAPER=A3\"" C:\in.pcl C:\out.pdf
    pcltool.exe -pclcmd "\"-J@PJL SET PAPER=A4\"" C:\in.pcl C:\out.pdf
    pcltool.exe -pclcmd "\"-J@PJL SET PAPER=Ledger\"" C:\in.pcl C:\out.pdf
    pcltool.exe -pclcmd "\"-J@PJL SET PAPER=Letter\"" C:\in.pcl C:\out.pdf
    pcltool.exe -pclcmd "\"-J@PJL SET PAPER=A4\" \"-J@PJL SET DEFAULT ORIENTATION = LANDSCAPE\"" C:\in.pcl C:\out.pdf

By above command line, you can convert PCL to PDF and specify paper size as A3, A4, Ledger, letter. Please check more usage explanation on user manual of PCL Converter. And by this software, you can also specify output PDF orientation. Now let us check the conversion effect from the following snapshot.

MS Dos operation of PCL CMD

output PDF from PCL

There are more functions of this software, I can not list all of them. If you need to know more about this software, please visit its homepage or user menu.
Part of parameters:

Convert *.PCL and *.PXL files to PDF, PS, TIFF, JPEG, BMP, PCX, PXL etc. files
Release Date: May 28 2012
Usage: pcltool [options] <pcl-file> [<pdf-file>]
  -width <int>               : Set page width to image file
  -height <int>              : Set page height to image file
  -xres <int>                : Set X resolution to image file
  -yres <int>                : Set Y resolution to image file
  -bitcount <int>            : Set color depth for image conversion
  -rotate <int>              : Rotate pages, 90, 180, 270
  -view                      : View PDF file after creation
  -append <int>              :
        -append 0: Overwrite if PDF file exists
        -append 1: Insert before first page if PDF file exists
        -append 2: Append to last page if PDF file exists
        -append 3: Rename filename if PDF file exists
  -producer <string>         : Set 'producer' to PDF file
  -creator <string>          : Set 'creator' to PDF file
  -subject <string>          : Set 'subject' to PDF file
  -title <string>            : Set 'title' to PDF file
  -author <string>           : Set 'author' to PDF file

If you need to use this software forever, please pay for PCL Converter. During the using, if you have any question, please contact us as soon as possible.

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

This entry was posted in PCL Converter and tagged , . Bookmark the permalink.

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!