PDF Security

How to use "-newencrypt" option in PDF Security and Signature software?

Dear sir or madam,

today I bought a copy of PDF security and Signature. The Help-option of the program shows an option "--newencrypt" for new encryption options. But neither in the accompanying help files nor on your homepage I can find any further details on that. Could you please tell me more?

Another question if I want to set more than one permission flag on a document (e.g. high quality printing and copy and paste) do I have to simply add the numbers like in unix chmod (-perm 2056 [2048+16 in my above example]), or do I have to give -perm and list all numbers (-perm 2048 8) or do I have to specify perm for each number (-perm 2048 -perm 8).

Thanks for a reply!
Customer
-------------------------

http://www.verypdf.com/app/pdf-security-and-signature/index.html

image

Thanks for your message, you can run following command lines to encrypt your PDF files,

pdfsecure.exe -openpwd 123 -ownerpwd 456 -perm 0 -keylen 128 -stringcrypt AES256 -streamcrypt AES256 -forceencrypt -linearize readme.pdf _readme_out_aes256.pdf

pdfsecure.exe -openpwd 123 -ownerpwd 456 -perm 0 -stringcrypt AES128 -streamcrypt AES128 readme.pdf _readme_out_aes128.pdf

pdfsecure.exe -openpwd 123 -ownerpwd 456 -perm 0 -keylen 128 -stringcrypt rc4 -streamcrypt rc4 -forceencrypt -linearize readme.pdf _readme_out_rc4.pdf

pdfsecure.exe -newencrypt "--encrypt 123 456 256 --force-R5 --print=full --modify=none" readme.pdf _readme_out_aes256_new_method.pdf

If you wish to set more permission together, you may add their values together,

  -perm <int>              : Set the permission flags
       -perm    4: Allow Printing
       -perm    8: Allow Changing the Document
       -perm   16: Allow Content Copying or Extraction
       -perm   32: Allow Commenting
       -perm  256: Allow Filling of form fields
       -perm  512: Allow Content Extraction for Accessibility
       -perm 1024: Allow Document Assembly
       -perm 2048: Allow High Quality Printing
       -perm 3900: Allow All Permissions
       -perm    0: Not Allow All (default)
       -perm   -1: No Encryption is used

For example, if you wish set "Allow high quality printing" and "Allow copy and paste" permissions to generated PDF file, you may use -perm 2056 [2048+16 in your example.

"-newencrypt" is an new encryption option, you may use it with following options,

Encryption Options for "-newencrypt" parameter.
To change the encryption parameters of a file, use the --encrypt flag. The syntax is

--encrypt user-password owner-password key-length [ restrictions ] --
Note that "--" terminates parsing of encryption flags and must be present even if no restrictions are present.

Either or both of the user password and the owner password may be empty strings.

The value for key-length may be 40, 128, or 256. The restriction flags are dependent upon key length. When no additional restrictions are given, the default is to be fully permissive.

If key-length is 40, the following restriction options are available:

--print=[yn]
Determines whether or not to allow printing.

--modify=[yn]
Determines whether or not to allow document modification.

--extract=[yn]
Determines whether or not to allow text/image extraction.

--annotate=[yn]
Determines whether or not to allow comments and form fill-in and signing.

If key-length is 128, the following restriction options are available:

--accessibility=[yn]
Determines whether or not to allow accessibility to visually impaired. The VeryPDF library disregards this field when AES is used or when 256-bit encryption is used. You should really never disable accessibility, but VeryPDF lets you do it in case you need to configure a file this way for testing purposes. The PDF spec says that conforming readers should disregard this permission and always allow accessibility.

--extract=[yn]
Determines whether or not to allow text/graphic extraction.

--assemble=[yn]
Determines whether document assembly (rotation and reordering of pages) is allowed.

--annotate=[yn]
Determines whether modifying annotations is allowed. This includes adding comments and filling in form fields. Also allows editing of form fields if --modify-other=y is given.

--form=[yn]
Determines whether filling form fields is allowed.

--modify-other=[yn]
Allow all document editing except those controlled separately by the --assemble, --annotate, and --form options.

--print=print-opt
Controls printing access. print-opt may be one of the following:

* full: allow full printing
* low: allow low-resolution printing only
* none: disallow printing

--modify=modify-opt
Controls modify access. This way of controlling modify access has less granularity than new options added in VeryPDF 8.4. modify-opt may be one of the following:

* all: allow full document modification
* annotate: allow comment authoring, form operations, and document assembly
* form: allow form field fill-in and signing and document assembly
* assembly: allow document assembly only
* none: allow no modifications

Using the --modify option does not allow you to create certain combinations of permissions such as allowing form filling but not allowing document assembly. Starting with VeryPDF 8.4, you can either just use the other options to control fields individually, or you can use something like --modify=form --assembly=n to fine tune.

--cleartext-metadata
If specified, any metadata stream in the document will be left unencrypted even if the rest of the document is encrypted. This also forces the PDF version to be at least 1.5.

--use-aes=[yn]
If --use-aes=y is specified, AES encryption will be used instead of RC4 encryption. This forces the PDF version to be at least 1.6.

--force-V4
Use of this option forces the /V and /R parameters in the document's encryption dictionary to be set to the value 4. As VeryPDF will automatically do this when required, there is no reason to ever use this option. It exists primarily for use in testing VeryPDF itself. This option also forces the PDF version to be at least 1.5.

If key-length is 256, the minimum PDF version is 1.7 with extension level 8, and the AES-based encryption format used is the PDF 2.0 encryption method supported by Acrobat X. the same options are available as with 128 bits with the following exceptions:

--use-aes
This option is not available with 256-bit keys. AES is always used with 256-bit encryption keys.

--force-V4
This option is not available with 256 keys.

--force-R5
If specified, VeryPDF sets the minimum version to 1.7 at extension level 3 and writes the deprecated encryption format used by Acrobat version IX. This option should not be used in practice to generate PDF files that will be in general use, but it can be useful to generate files if you are trying to test proper support in another application for PDF files encrypted in this way.

The default for each permission option is to be fully permissive.

for example,

pdfsecure.exe -newencrypt "--encrypt 123 456 256 --force-R5 --print=full --modify=none" readme.pdf _readme_out_aes256_new_method.pdf

VeryPDF

VN:F [1.9.20_1166]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.20_1166]
Rating: 0 (from 0 votes)
docPrint Pro, HTML Converter (htmltools)

Problems getting good results from htmltools HTML to PDF conversion

Hi folks. I have downloaded htmltools for evaluation. I'm trying to get a good result from our web page.

I have tried a bunch of arguments and really nothing is giving very good results. For starters, the fonts always look kind of bad, like the kerning is too tight.

With no special arguments for the conversion method, it puts dotted borders around each table cell. (That is part of the page's CSS, but only for media screen. I didn't see way to change your converter to use media print.)

With -webkit, it puts solid borders around the table cells.

With -webkit2, it's somewhat better but the kerning is still a problem. (I suspect this is really an issue about font embedding, but I'm not sure. We had another similar problem with another webkit-based tool we tried.)

With -htm2pdf, it's complete garbage.

Any thoughts or suggestions? Thanks.

Keep safe in these challenging times!
Customer
----------------------------

image
Thanks for your message, we suggest you may download docPrint Pro v8.0 from this web page to try,

http://www.verypdf.com/app/document-converter/try-and-buy.html#buy_pro
http://www.verypdf.com/artprint/docprint_pro_setup.exe

after you download and install it, you may run following command line to convert your web page to PDF file properly,

"C:\Program Files (x86)\docPrint Pro v8.0\doc2pdf.exe" -i http://www.verypdf.com -o D:\downloads\out.pdf

VeryPDF

VN:F [1.9.20_1166]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.20_1166]
Rating: 0 (from 0 votes)
PCL Converter

How to convert all PCL files in a folder and sub folders to PDF files from Command Line?

What about the PCL converter Command Line tool? When I click on the application, it opens a window that says "Press any key to continue" then I press a key and the window closes. Nothing happens.

Let me know.

Thanks
Customer
--------------------------------------------
Also, is there a way to copy and convert directory and sub directory structures when converting? I have PCL files stored in folders by year and then pcl files are in the month of each year.

So file structure is Year/Month/pcl files and I want to put the converted files in the same structure with out having to convert each year month by month.

Thanks
Customer
--------------------------------------------

http://www.verypdf.com/app/pcl-converter/try-and-buy.html

image

>>What about the PCL converter Command Line tool? When I click on the application, it opens a window that says "Press any key to continue" then I press a key and the window closes. Nothing happens.

You need run cmd.exe first, please look at following web page to launch a CMD window, then you can run pcltool.exe in this CMD window to convert PCL files to PDF files,

https://veryutils.com/blog/top-10-methods-to-run-a-command-line-window-in-windows-10/

>>Also, is there a way to copy and convert directory and sub directory structures when converting? I have PCL files stored in folders by year and then pcl files are in the month of each year.
>>So file structure is Year/Month/pcl files and I want to put the converted files in the same structure with out having to convert each year month by month.

You can run following command line to convert all of your PCL files in a folder and sub folders to PDF files,

for /r D:\temp %F in (*.pcl) do "C:\Program Files (x86)\VeryPDF PCL Converter v2.7\pcltool.exe" "%F" "%~dpnF.pdf"

for %F in (D:\temp\*.pcl) do "C:\Program Files (x86)\VeryPDF PCL Converter v2.7\pcltool.exe" "%F" "%~nF.pdf"

for %F in (D:\temp\*.pcl) do "C:\Program Files (x86)\VeryPDF PCL Converter v2.7\pcltool.exe" "%F" "%~dpnF.pdf"

VeryPDF

VN:F [1.9.20_1166]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.20_1166]
Rating: 0 (from 0 votes)
Image to PDF Converter, PDF to Image Converter

Does one of your toolkits provide exporting to image from a PDF and import image to PDF?

Does one of your toolkits provide exporting to image from a PDF and import image to PDF?

Customer
-------------------------------

image
>>Does one of your toolkits provide exporting to image from a PDF and import image to PDF?

Thanks for your message, you need two products to convert PDF files to Image files and Image files to PDF files, such as,

1. PDF to Image Converter COM/SDK

You can use "PDF to Image Converter COM/SDK" to convert from PDF files to Image files, you may download and buy PDF to Image Converter COM/SDK from this web page,

http://www.verypdf.com/app/pdf-to-image-converter/try-and-buy.html#buy-cvt-com

2. Image to PDF Converter Command Line

You can use "Image to PDF Converter Command Line" to convert from Image files to PDF files, you may download and buy Image to PDF Converter Command Line from this web page,

http://www.verypdf.com/app/image-to-pdf-ocr-converter/try-and-buy.html#buy-cvt-cmd

We are provide both Command Line and SDK versions for above products, you may choose either one according to your requirements.

You may download the trial version of these products from our website to try, if you encounter any problem with these products, please feel free to let us know, we will assist you asap.

VeryPDF

VN:F [1.9.20_1166]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.20_1166]
Rating: 0 (from 0 votes)
PCL Converter

Pcl Converter Tiff Result Gray & Text Mapping

Hello,

I have bought the PclConverter Console Developer Version. I am having the problem that if i convert files to tif they are converted to Black/White while if i export the pcl as a jpeg/pdf it is Fullcolor as expected.

Another problem I am having is that the font mapping for pdf files does not work properly. It only outputs dashes "_" instead of the real text.

Command for PCL to TIF file:

pcltool.exe -width 7014 -height 4962 -xres 600 -yres 600 "C:\Test\00009.pcl" "C:\Test\00009.tif"

Command for PCL to PDF file:

pcltool.exe -mapfont default -width 7014 -height 4962 -xres 600 -yres 600 "C:\Test\00009.pcl" "C:\Test\00009.tif"

In addition to that even if I input the correct width and height i get a wrong width and height in the result.

The resulting Pdf File (Incorrect width and height, no Text elements as in the original printed document).

Kind regards
Customer
------------------------------

http://www.verypdf.com/app/pcl-converter/index.html

image
>>I have bought the PclConverter Console Developer Version. I am having the problem that if i convert files to tif they are converted to Black/White while if i export the pcl as a jpeg/pdf it is Fullcolor as expected.

Thanks for your message, you can run following command line to convert your PCL file to full color TIFF file,

"C:\Program Files (x86)\VeryPDF PCL Converter v2.7\pcltool.exe" -xres 600 -yres 600 -bitcount 24 D:\downloads\00009.pcl D:\downloads\00009.tif

or, you can run following command line to convert your PCL file to PDF file,

"C:\Program Files (x86)\VeryPDF PCL Converter v2.7\pcltool.exe" -xres 600 -yres 600 -bitcount 24 D:\downloads\00009.pcl D:\downloads\00009.pdf

>>Another problem i am having is that the font mapping for pdf files does not work properly. It only outputs dashes "_" instead of the real text.

Could you please send to us the sample PCL file and tell us what font do you want to replace? after we test your PCL file, we will figure out a solution to you asap.

VeryPDF

VN:F [1.9.20_1166]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.20_1166]
Rating: 0 (from 0 votes)