in reply to Printing a postscript file with Win32::Printer

I did this once by looking through the PostScript preamble, patching the tray selection code in the PostScript file and then sending the file directly to the printer (via ftp), because luckily the printer understood PostScript directly.

This will obviously not work if you don't have native PostScript printers ...

  • Comment on Re: Printing a postscript file with Win32::Printer

Replies are listed 'Best First'.
Re^2: Printing a postscript file with Win32::Printer
by paul.dorman (Initiate) on Jul 02, 2006 at 20:51 UTC
    That sounds promising. So if I work out what PostScript to use for setting the MediaPostion attribute, and insert that into the file before printing, I could use Win32::Printer::Direct to print the page?

    I haven't yet found exactly where and how to use MediaPosition , but I'll provide you all an update when I do. :o)