xprinter [message #88458] |
Tue, 29 April 2014 08:55  |
aiaa.sostc.treas
Messages: 2 Registered: April 2014
|
Junior Member |
|
|
Does anyone know how to add additional printer types to xprinter? It does not look like the list of printers has been updated since xprinter was first included with IDL.
Thanks
|
|
|
|
Re: xprinter [message #88477 is a reply to message #88460] |
Thu, 01 May 2014 06:40  |
aiaa.sostc.treas
Messages: 2 Registered: April 2014
|
Junior Member |
|
|
Unfortunately, if you use the print method for the plot or window objects on mac or unix, xprinter is the output device. I had a little, intermittent success using the generic ps printer.
My final work around was to write my own procedure to print a window, which saved the window to a temporary file then spawned an 'lp' command to print the saved file.
This leads to another question. Is there a way to overload the print method for plots and windows with my own print method?
Thanks
On Tuesday, April 29, 2014 11:09:44 AM UTC-5, David Fanning wrote:
>
>
>> Does anyone know how to add additional printer types to xprinter? It does not look like the list of printers has been updated since xprinter was first included with IDL.
>
>
>
> Yeah, that was an idea that never generated much traction. In 25+ years
>
> of IDL programming, I don't believe I've ever run into anyone who used
>
> the PRINTER device.
>
>
>
> Cheers,
>
>
>
> David
>
> --
>
> David Fanning, Ph.D.
>
> Fanning Software Consulting, Inc.
>
> Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
>
> Sepore ma de ni thue. ("Perhaps thou speakest truth.")
|
|
|