From: Mike S. <Mik...@Do...> - 2007-04-05 18:34:13
|
Not sure if this is an obvious question I am just missing or not, but.... We generate server-side PDFs and then pass them to wxPerl clients. By default we just open them with the appropriate mime-type application on the client platform (so evince/xpdf on gtk, Preview on OSX, Acrobat on Win32). The issue now is if we can print without having to open first. For Linux and OSX, worst case we can just do a system call to "lp filename.pdf" and everything is fine, but not sure how to print a PDF in Win32 without first opening it in Acrobat. I noticed that Mark Wardell has wrapped wxPdfDocument, and that the wxPdfDocument folks plan on providing a wxPdfDC (similar to wxPostscriptDC) for printing in their next release -- is that the way to go?? Thanks in advance for any insight/suggestions. Mike. |