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:
Initial View Show Attachments Panel and Page in PDF Tools
Hide the menu bar of pdf files by using the Advanced PDF Tools
Fit pdf page height to the window of pdf reader via Advanced PDF Tools Command Line
How to edit title and creation date?
Edit pdf content offset of odd number pages using command line
Adjust text position in PDF without changing font size
How to change page orientation of PDF?
Rotating a PDF file via command line