[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [MacPerl] Accessing printers from MacPerl



davidh@SDL.UG.EDS.COM writes:
>I noticed this enquiry posted in the archive at Uni-Melb last October. 
>However, there was no reply posted publicly so I'll have to ask again. What I'
d
>like to know is how to access my printer from a MacPerl script. I've tried 
>such obvious steps as:
>
>open( PRINTER, ">Dev:Printer")
>
>and writing text to this filehandle

This is correct, but it only works for postscript printers and it's for sending
PostScript code, not text.

Matthias

-----
Matthias Neeracher   <neeri@iis.ee.ethz.ch>   http://www.iis.ee.ethz.ch/~neeri
   "One fine day in my odd past..." -- Pixies, _Planet of Sound_