comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » xprinter
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
xprinter [message #88458] Tue, 29 April 2014 08:55 Go to next message
aiaa.sostc.treas is currently offline  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 #88460 is a reply to message #88458] Tue, 29 April 2014 09:09 Go to previous messageGo to next message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
aiaa.sostc.treas@gmail.com writes:

> 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.")
Re: xprinter [message #88477 is a reply to message #88460] Thu, 01 May 2014 06:40 Go to previous message
aiaa.sostc.treas is currently offline  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.")
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: How to close 'failed' function graphics windows?
Next Topic: linear interpolation to form a deformation field

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 11:43:45 PDT 2025

Total time taken to generate the page: 0.00397 seconds