Using IBM i? Need to create Excel, CSV, HTML, JSON, PDF, SPOOL reports? Learn more about the fastest and least expensive tool for the job: SQL iQuery.
I had a client ask me to build a tool that merges PDF files. (2 or more PDF files into 1 target PDF file).
I'm going to use Java to do this since its really "easy" but I'm wondering if anyone else has done this on IBM i and if so, what tools they used?
The utility is going to be called MERGEPDF, and will consist of a CMD and RPG wrapper for the Java interface. It'll also have a MERGEPDF.class that I wrote along with the supporting JAR files.
I merge pdfs all day long "automatically" but what I end up doing is writing out a dos batch file, calling a program called split merge from very pdf on the pc side, using aaron bartell's "rpg 2 desktop" to send an entry to a dataque to trigger its running.
But I don't think is what you are after.
chris
I got the Java version working just fine. Merged a couple of the IBM i manuals on PDF to test it. Interesting capability.
MERGEPDF INPDF( pdf1 pdf2 pdf3 ) OUTPDF( mergedPDFfile.pdf )