Hi, I’m looking at using pdftools to meet user requirements of attaching a CSV and encrypting a PDF.
If I do either of the two following commands, each works to produce a PDF that is encrypted, or a PDF with an attachment,
pdftools -S openpwd=Salmat -S ownerpwd=Salmat -S keylen=1 -i 002.pdf -o E_002.pdf
pdftools -S attachfiles=*.csv -i 002.pdf -o A_002.pdf
But when I attempt to do both, there are no attachments
pdftools -S attachfiles=*.csv -S openpwd=Salmat -S ownerpwd=Salmat -S keylen=1 -i 002.pdf -o E_A_002.pdf
Is this a limitation of pdftools, or PDFs in general? Your advice and assistance would be appreciated in my evaluation.
================================
This is a limitation in trial version, after you purchased Advanced PDF Tools Command Line product, please email to us your Order ID, we will send the latest version of Advanced PDF Tools Command Line to you asap, the latest version of pdftools.exe does support both of these options togheter.
Related Posts
Related posts:
Use Advanced PDF Tools to increase pages margin to PDF files
Fit pdf page height to the window of pdf reader via Advanced PDF Tools Command Line
How to compress images to reduce pdf size
How to edit title and creation date?
SDK or component for rotating a single page 90 degrees in an existing multi-page PDF
Reducing the size of a PDF file
How to count the number of PDF pages in Advanced PDF Tools software?
A solution to encrypt the PDF files by read employees' data from Excel Spreadsheet, and email the PD...