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

Home » Public Forums » archive » Printing ASCII data with DIALOG_PRINTJOB
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
Printing ASCII data with DIALOG_PRINTJOB [message #13982] Thu, 14 January 1999 00:00 Go to next message
Richard D. Hunt is currently offline  Richard D. Hunt
Messages: 8
Registered: January 1996
Junior Member
<HTML>
I hvae an array of string data and would like to print it to a postscript
printer under
<BR>MS&nbsp;Windows.&nbsp; I would like to use DIALOG_PRINTJOB so I don't
have to work to
<BR>hard to create my own interface.&nbsp; Does anybody have code to do
this?

<P>Thanks,

<P>Rich
<BR>&nbsp;
<PRE>--&nbsp;

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp; Richard D. Hunt
&nbsp;&nbsp;&nbsp;&nbsp; _/_/_/ _/&nbsp;&nbsp;&nbsp; _/ _/&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs p;&nbsp; SANDIA NATIONAL LABORATORIES&nbsp;&nbsp; _/_/_/
&nbsp;&nbsp; _/&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; _/_/&nbsp; _/ _/&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs p;&nbsp; P.O. Box 5800&nbsp; M/S 0965&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n bsp;&nbsp;&nbsp;&nbsp; _/_/
&nbsp; _/_/_/&nbsp; _/ _/ _/ _/&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs p;&nbsp; Albuquerque, NM 87185-0965&nbsp;&nbsp; _/_/_/_/_/_/
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; / _/&nbsp; _/_/ _/&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs p;&nbsp; Voice: (505)844-3193&nbsp;&nbsp;&nbsp;&nbsp;&nb sp;&nbsp;&nbsp;&nbsp; _/&nbsp; _/_/&nbsp; _/
&nbsp;_/_/_/ _/&nbsp;&nbsp;&nbsp; _/ _/_/_/_/&nbsp; Fax: (505)844-5993&nbsp;&nbsp;&nbsp;&nbsp;&nb sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; _/&nbsp; _/_/&nbsp; _/
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; E-Mail: rdhunt@sandia.gov &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; _/_/_/</PRE>
&nbsp;</HTML>
Re: Printing ASCII data with DIALOG_PRINTJOB [message #14071 is a reply to message #13982] Fri, 15 January 1999 00:00 Go to previous message
Michael W Asten is currently offline  Michael W Asten
Messages: 4
Registered: January 1999
Junior Member
Richard D. Hunt wrote:

> I hvae an array of string data and would like to print it to a
> postscript printer under
> MS Windows. I would like to use DIALOG_PRINTJOB so I don't have to
> work to
> hard to create my own interface. Does anybody have code to do this?
>

No I dont have such code, but I wonder if you really need it. The
beauty of the dialog_printjob call is that you can plot to your printer,
at full printer resolution, using existing Windows drivers, with no more
effort than repeating the code used to throw your plot on the screen. I
have (sigh of relief) abandonned the messy idl 4.x approach of
generating a ps file, then copying to a printer (and mostly getting the
plot wrongly positioned), and find the printing of images via the
Windows printer driver to be much simpler and faster.

Regards,
Michael Asten
Re: Printing ASCII data with DIALOG_PRINTJOB [message #14072 is a reply to message #13982] Fri, 15 January 1999 00:00 Go to previous message
Michael W Asten is currently offline  Michael W Asten
Messages: 4
Registered: January 1999
Junior Member
Richard D. Hunt wrote:

> I hvae an array of string data and would like to print it to a
> postscript printer under
> MS Windows. I would like to use DIALOG_PRINTJOB so I don't have to
> work to
> hard to create my own interface. Does anybody have code to do this?
>

No I dont have such code, but I wonder if you really need it. The
beauty of the dialog_printjob call is that you can plot to your printer,
at full printer resolution, using existing Windows drivers, with no more
effort than repeating the code used to throw your plot on the screen. I
have (sigh of relief) abandonned the messy idl 4.x approach of
generating a ps file, then copying to a printer (and mostly getting the
plot wrongly positioned), and find the printing of images via the
Windows printer driver to be much simpler and faster.

Regards,
Michael Asten
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: XWin32 conflict
Next Topic: Device/Window_State on the Mac

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

Current Time: Wed Oct 08 19:51:33 PDT 2025

Total time taken to generate the page: 0.00478 seconds