How to convert XPS to PDF and encrypt it by 128 bit AES encryption?

       When you need to convert XPS to PDF and encrypt output PDF by 128 bit AES encryption, maybe you can have a free trial of software VeryDOC XPS to PDF Converter, by which you can make it easily. AES has been adopted by the U.S. government and is now used worldwide. AES is a variant of Rijndael which has a fixed block size of 128 bits, and a key size of 128, 192, or 256 bits. AES 128 bit is adopted by Acrobat 7 or higher version.  After encryption, the output PDF will be much more safer to be transferred to your clients, customers or others.

  VeryDOC XPS to PDF Converter is available via an easily integrated COM object (or DLL Library, or Command Line), enabling developers to access the converter via any programming or scripting languages, such as Visual Basic, C/C++, Delphi, ASP, PHP, C#, .NET, etc. So it is quite good for those developers who need to develop some applications based on this one. Please check more information of this software on homepage, in the following part, let us check how to use this software.

Step 1. Free download XPS to PDF Converter Command Line

  • As it is command line version software, we have compressed it to zip file. When downloading finishes, there will be a zip file. Please extract it to some folder then you can use it normally.
  • When you use this software, please read website and readme.txt carefully then you will find that more functions of this software.

Step 2. Convert XPS to PDF and encrypt it by 128-bit AES.

  • When you use this software, please refer to its usage and examples.
  • Here is the usage:xps2pdf [options] <xps-file> [<out-file>]
  • When convert XPS to PDF and encrypt it by 128-bit encryption, please refer to the following command line template and parameters:
    xps2pdf.exe -ownerpwd 123 -keylen 2 -permission 128 C:\in.xps C:\out.pdf
  • -openpwd <string>     : Set 'open password' to PDF file
      -ownerpwd <string>    : Set 'owner password' to PDF file
      -keylen <int>         : Key length (40 or 128 bit)
            -keylen 0:  40 bit RC4 encryption (Acrobat 3 or higher)
            -keylen 1: 128 bit RC4 encryption (Acrobat 5 or higher)
           -keylen 2: 128 bit AES encryption (Acrobat 7 or higher)
      -permission <int>     : Restrictions
            -permission 0  : Deny anything
            -permission 1  : Allowed print the document
            -permission 2  : Allowed modify the content of the document
            -permission 4  : Allowed copy text and graphics from the document
            -permission 8  : Allowed add or modify annotations
            -permission 16 : Allowed fill in interactive form fields
            -permission 32 : Allowed extract text and graphics from the document
            -permission 64 : Allowed assemble the document
            -permission 128: Allowed print the document with high resolution

Please follow examples to run the conversion from XPS to PDF. 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

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!