You want to to see if Print Wizard will work for you, but first you have to figure out the plumbing; that is, how to get print data from your existing application (or one you're about to write) into Print Wizard. There's so many options!!! Let's see if we can narrow it down.
If your app runs on Unix, Linux, AIX, etc.
What is Print Wizard?
Print Wizard is a family of programs dealing with printing, scanning, faxing, PDF generation, emailing, and document management.
Print Wizard can receive or intercept print output from any kind of MultiValue (MV) system, including D3, jBase, Universe, Unidata, and more. It can output to any Windows-supported printer, or to PDF, or to fax.