in reply to OLE print to a file

You might try Redmon (aka Redirection Port Monitor). It allows one to redirect a print job's output to a program's stdin. Not strictly a Perl solution, but it could do the job.