A PRN file is a file produced in a Microsoft DOS or Windows application when the option "Print to File" is used. Note that this isn't the same thing as using the normal print functionality with a "fake printer" like Adobe Acrobat or PDF Creator define. It's meant to be a printer ready dump that can be copied to a printer:
COPY myfile.prn LPT1
As you might guess from this syntax, this idea has been around for quite a long time (and only works on directly connected devices). One alternative I saw was to try in MS Windows to drag and drop a PRN file onto the printer icon. A quick Googling showed me a free tool that will let you print various kinds of files: PrintFile
None of this background information helps the OP, but you've already pointed to the use of Win32::OLE to automate the application needed to produce the PRN file. Even in Office 2007, you can use the Print to File option, it's just a matter of picking the right OLE print setting to specify it.
Oooh, another quick look gave me this: source file of Docserver which has a doc_convert function that looks just like what the doctor ordered.
Final Answer: get Docserver |