Hi all,
I have been asked to merge a footer-PDF with hundreds of PDF documents. Interactively, I can do this with Document->Add Image (choosing either as stamp annotation or page content), but I wondering if there a code snippet with Javascript that can help automate this task? Is there a way of using an external pdf file as input for addAnnot ( type: "Stamp", ...) or another way to overlay the footer-PDF programmatically?
Regards,
James
Overlaying 2 PDFs with Javascript?
Moderators: TrackerSupp-Daniel, Tracker Support, Paul - Tracker Supp, Vasyl-Tracker Dev Team, Chris - Tracker Supp, Sean - Tracker, Ivan - Tracker Software, Tracker Supp-Stefan
-
- User
- Posts: 2349
- Joined: Wed Jan 18, 2006 12:10 pm
Re: Overlaying 2 PDFs with Javascript?
Do you know about PDF-XChange PDF-Tools ?
https://www.pdf-xchange.com/product/pdf-tools
The "Overlay PDF" option must be able to do the job automatically, and this for multiple files at once, in one run.
More information about this: via the on-line manual: https://help.pdf-xchange.com/pdfxt6 ... pdf_t.html
You can free download and install PDF-Tools, and test if this works for you.
Just be aware that publicity stamps will be add to the resulting PDFs in case you do not (yet) have a license key for PDF-Tools.
Best regards.
https://www.pdf-xchange.com/product/pdf-tools
The "Overlay PDF" option must be able to do the job automatically, and this for multiple files at once, in one run.
More information about this: via the on-line manual: https://help.pdf-xchange.com/pdfxt6 ... pdf_t.html
You can free download and install PDF-Tools, and test if this works for you.
Just be aware that publicity stamps will be add to the resulting PDFs in case you do not (yet) have a license key for PDF-Tools.
Best regards.
Re: Overlaying 2 PDFs with Javascript?
Perfect! I was able to configure the tool and within 5 minutes I could run in on the command line:
PDFXTools.exe /RunTool:showprog=no;showrep=no overlayDoc example.pdf
PDFXTools.exe /RunTool:showprog=no;showrep=no overlayDoc example.pdf
- Will - Tracker Supp
- Site Admin
- Posts: 6815
- Joined: Mon Oct 15, 2012 9:21 pm
- Location: London, UK
- Contact:
Re: Overlaying 2 PDFs with Javascript?
Thanks Willy!
jbaylis - Do you have everything that you need now?
jbaylis - Do you have everything that you need now?
If posting files to this forum, you must archive the files to a ZIP, RAR or 7z file or they will not be uploaded.
Thank you.
Best regards
Will Travaglini
Tracker Support (Europe)
Tracker Software Products Ltd.
http://www.tracker-software.com
Thank you.
Best regards
Will Travaglini
Tracker Support (Europe)
Tracker Software Products Ltd.
http://www.tracker-software.com