How to convert pcl to pdf using a command line?

Batch script is very useful for batch process, which requires applications to supported running under command line mode. If the operating system is Microsoft Windows, these applications should be running in MS-DOS mode. If you want to use batch processing to convert documents of pcl to pdf formats, VeryPDF PCL Converter must be your best choice. VeryPDF PCL Converter is a program created for converting pcl to pdf and to other image formats, which has both command line and GUI versions. This article is to tell you about converting pcl to pdf using command line with VeryPDF PCL Converter.

To use this program, you should download it from http://www.verypdf.com/pcltools/index.html#dl and install it into your Microsoft Windows system. After the installation, you will see an executable file named “pcltool.exe” that is the key component for running in MS-DOS mode. You have to launch your MS-DOS command prompt before calling the program. Follow the menu path, [start] –> [Run], and input “cmd” or “cmd.exe” in the “Open” textbox of popup “Run” dialog, then a MS-DOS command prompt window comes out. Another way to start a MS-DOS command prompt window is to press and hold the “Window” key of your keyboard and then press “R”; input “cmd” in the “Open” textbox of the popup “Run” dialog. The default current directory of the MS-DOS command prompt is like “C:\Documents and Settings\USER” where “USER” is your system logon name. In the current directory, you can call the program “pcltool.exe” with including its full path, for example,

C:\Documents and Settings\admin>"C:\Program Files\VeryPDF PCL Converter v2.0\pcltool.exe" "C:\Program Files\VeryPDF PCL Converter v2.0\examples\fills.pcl" test.pdf <Enter>.

In the commands, “admin” is the logon name of the author’s system, and “C:\Program Files\VeryPDF PCL Converter v2.0\” is the directory where the program “pcltool.exe” is installed. The commands convert the file of “fills.pcl” to “test.pdf”, from pcl to pdf. If you want to call the program directly in any current directory without including its full path, you can add the path of PCL Converter into the system environment variables. The method of adding a path as an environment variable is presented in this article, http://www.verypdf.com/wordpress/201110/use-docprint-command-line-to-convert-a-document-of-doc-to-pdf-formats-4538.html. After successfully adding the path of PCL Converter, “C:\Program Files\VeryPDF PCL Converter v2.0”, the program “pcltool.exe” will be able to be called with MS-DOS command from any current directory. A simple command of PCL Converter is

pcltool verypdf.pcl verypdf.pdf <Enter>.

This command line is converting the document of “verypdf.pcl”, from pcl to pdf, to “verypdf.pdf”.

If add an option “-rotate” with argument “90” into the command line,

pcltool –rotate 90 verypdf.pcl verypdf.pdf <Enter>,

using the program “pcltool”, “verypdf.pcl” is converted to “verypdf.pdf” from pcl to pdf with the pages 90 degrees rotated.

This article presented some simple examples of using PCL Converter to convert pcl to pdf via command lines. There are more options supported by the software, such as setting the pdf property information, setting the resolution of target images (for converting pcl to images), etc. Fore more information about VeryPDF Converter Command Line, please visit the web page, http://www.verypdf.com/pcltools/pcl-tools-help.htm#cmd. If you want to use the full function without any limitation, please buy a license of your PCL Converter at http://www.verypdf.com/order_pcl2pdf_end.html.

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 VeryPDF Blog and tagged , , , . Bookmark the permalink.

Leave a Reply

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

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>


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