Convert prn to pdf and encrypt pdf via command line

A pdf owner password is the password used to set document restrictions in pdf files. As of the latest PDF version, document restrictions can include printing, changing the document, document assembly, content copying, content copying for accessibility, page extraction, commenting, filling of form fields, signing, and creation of template pages. In Adobe Acrobat, the pdf owner password is called the change permissions password.  Therefore, setting an owner password allows you to protect your copyrights. The follow part will show you how to convert prn to pdf and encrypt pdf using PCL Converter command line. 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.

Click the following link to download and install PCL Converter command line

http://www.verypdf.com/pcltools/index.html

Supposing that you have not yet bought, you could press “Try”, which means you are entitled 50times to experience this wonderful software. And if you are satisfied with PCL Converter command line, you can go back the link or press “Buy now”to purchase. Once you get the registration key, you will obtain PCL Converter command line.

Input command line to convert prn to pdf and encrypt pdf

The way to input command line is pretty easy, the below series of screenshots will assist you.

Press  “start”

choose “Run”

input “cmd”

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

command prompt

Here comes the critical step, try to  make sure the command line you are going to input correct.

pcltool.exe –ownerpwd “xxx” -keylen 2  -encryption 3900 D:\in.prn D:\out.pdf

where

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

    Once the inputting is done, 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

    Open your file to check

    secured pdf file

                                                   Picture 1

    result pic

                                                      Picture 2

    Picture 1 shows you the prn file has been converted to pdf file and Picture 2 tells you the owner password has been encrypted. You can use different parameters to convert prn to pdf and encrypt pdf according to your requirements.

    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 *


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