Convert pcl to pdf and set pdf password via command line

A pdf open password is the password used to restrict the opening of a pdf file in Adobe Acrobat, So if you have some pdf files that you won’t allow other people to get access, you can set an open password to restrict. And how to set pdf password after you convert pcl to pdf, PCL Converter command line will tell you. PCL Converter is the fastest and most accurate converter of PCL, PXL, PX3 to PDF, TIFF and other distribution formats. Integrate high-volume batch conversion into your server-based application or workflow.

Below is a pcl file, you can open it after you convert pcl to pdf, but if you set pdf password to restrict, only the person possessing the password can click it open.

pcl file contained in PCL Converter 2.0 folder

The command line to convert pcl to pdf and set pdf password is as follows,

pcltool.exe –openpwd “xxx” -keylen 2 D:\in.pcl D:\out.pdf

where

  • D:\in.pcl is to specify a pcl filename or a directory for input,
  • D:\out.pdf is to specify the pdf file name for output,
  • -openpwd “xxx” is to set pdf password as xxx,
  • -keylen 2 refers to 128 bit RC4 encryption (Acrobat 6 or higher). This article use love as an example to illustrate.

Now, please launch command prompt window, do as the picture indicates,

Click “start”>choose “Run”>input “cmd”>press “ok”

way to launch MS-DOS command prompt window

Press “enter”, you will open the command prompt window.

command prompt

You continue to input the above command line to convert pcl to pdf and set pdf password when finishing, press “enter”, you will find prompt information as displayed in the following screenshot in detail.

detailed operation of command line displayed in  command prompt window

Now,  you open the pdf file to check if an open password is needed.

result pic  

And you enter pdf password “love” to try.

pdf file

From the contrast, you are clear that pcl has been converted to pdf file and pdf password has been set in line with the command line. If you want to get more information, please visit  https://www.verypdf.com/pcltools/index.html to download and purchase PCL Converter command line.

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!