Midrange News for the IBM i Community


Posted by: Bob Cozzi
Rogue Programmer
Cozzi Productions, Inc.
Chicagoland
Merging PDFs stored on the IFS
has no ratings.
Published: 10 Dec 2014
Revised: 11 Dec 2014 - 3028 days ago
Last viewed on: 27 Mar 2023 (5104 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

COMMENTS

(Sign in to Post a Comment)
Posted by: clbirk
Premium member *
Comment on: Merging PDFs stored on the IFS
Posted: 8 years 3 months 16 days 17 hours 52 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.

 

chris

Posted by: bobcozzi
Site Admin ****
Chicagoland
Comment on: Merging PDFs stored on the IFS
Posted: 8 years 3 months 15 days 20 hours 4 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 )