Midrange News for the IBM i Community

Posted by: Bob Cozzi
Rogue Programmer
Cozzi Productions, Inc.
Merging PDFs stored on the IFS
has no ratings.
Published: 10 Dec 2014
Revised: 11 Dec 2014 - 3451 days ago
Last viewed on: 22 May 2024 (5644 views) 

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.

Merging PDFs stored on the IFS Published by: Bob Cozzi on 10 Dec 2014 view comments(2)

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.

Return to midrangenews.com home page.
Sort Ascend | Descend


(Sign in to Post a Comment)
Posted by: clbirk
Premium member *
Comment on: Merging PDFs stored on the IFS
Posted: 9 years 5 months 13 days 13 hours 39 minutes ago

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.



Posted by: bobcozzi
Site Admin ****
Comment on: Merging PDFs stored on the IFS
Posted: 9 years 5 months 12 days 15 hours 51 minutes ago

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 )