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.
VeryPDF
VN:F [1.9.20_1166]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.20_1166]
Related Posts
- VeryPDF PDF Command Line Tools and C/C++/Python/Java/.NET/JavaScript API give you a wide range of professional and robust tools to modify PDF files on Windows, Mac and Linux systems
- The PDF SDK built for your PDF workflows
- Streamlining Your PDF Workflows for Business and Home with VeryPDF PDF Tools
- [Solution] Discover VeryPDF’s Advanced PDF Solutions
- How to enable High Quality Printing and disable other options in VeryPDF Advanced PDF Tools Command Line?
- How to set custom property values into PDF file from command line?
- VeryPDF Document Processing Solution for Government
- Split, merge, clone, copy, delete, rotate, and resize PDF pages with VeryPDF PDF Page Manager API
- Efficient and Accurate PDF to HTML Conversion with VeryPDF PDF to HTML SDK
- Powerful VeryPDF PDF Conversion SDK for Developers: Convert PDF, Word, Excel, PowerPoint, HTML, and More!
- How to rotate pdf pages by using the Advanced PDF Tools?
- How to rotate skewed PDF with VeryPDF Table Extractor OCR?
- How to set an open password for a pdf file by using command line?
- Edit pdf content offset of odd number pages using command line
- Cropping pages of a .pdf file