I saw a post about combining two pdf files into one.
Somme people recommended to use the PDFtk Server.
I looked for the information but I can't use the PDFtk Server.
I'am trying to do it but I can't find the solution.
Somme one have an example script to gather several pdf pages into one? .
Why?
I use the command line tool from PDFtk Free. I don't have examples from within Ignition, but a typical command line would look like this:
pdftk A=SourceFile1.pdf B=SourceFile2.pdf cat A B output OutputFile.pdf
The cat
verb accepts many variations to select page ranges, odd or even sets, and rotations.
1 Like
Thank you . Yes it work good into windows. Now I'am trying to do it from ignition perspective
It is not. PDFtk is a legitimate command line tool whose open-source version is quite useful. It absolutely can be used with java's ProcessBuilder
to manipulate PDF files on a gateway.
Edit: Ah, someone else already clipped the spam.
How can I install this toolkit into Ignition environment?
Install PDFtk into your gateway, outside Ignition.
Use java's ProcessBuilder
to execute that tool in the background on the gateway, capturing the stdout
carrying the output PDF bytes.
I don't see any example on the forum, sorry. It's not simple enough to just whip one up for you.