in reply to Printing Dilemma

I guess I don't really understand where Perl needs to be a part of this.

If your application is sending to a Win32 printer, check out the free PDF Creator -- it's a Win32 print driver that outputs PDF files, and can be configured in an automation-friendly manner.

If you create a batch file that calls your application (causing the PDF to be generated) and then uses Adobe Reader to send the PDF to another printer, you get hard copy and PDF.

See this document on Adobe's site for information. Basically, something like

AcroRd32.exe /t document.pdf PrinterName DriverName Port
<-radiant.matrix->
A collection of thoughts and links from the minds of geeks
The Code that can be seen is not the true Code
"In any sufficiently large group of people, most are idiots" - Kaa's Law