Printing in IDL [message #7896] |
Fri, 17 January 1997 00:00  |
Harald Jeszenszky
Messages: 9 Registered: January 1997
|
Junior Member |
|
|
Hi there,
I've developed an IDL program for data visualisation, running on
different platforms. To print out the data plots, I spawn the
appropriate printer command depending on the given operating system.
For example:
- Unix
IDL>spawn, 'lpr -hPhp4m test.txt'
- VMS
IDL>spawn, 'PRINT/QUEUE=NET$PRINT test.txt'
How can I print out files in IDL on a PC using Windows 95 (the
network printer is connected as \\fiwf04\hp_laser)?
Thanks in advance,
Harald
|
|
|
Re: Printing in IDL [message #8032 is a reply to message #7896] |
Fri, 31 January 1997 00:00  |
mwerger
Messages: 1 Registered: January 1997
|
Junior Member |
|
|
Harald Jeszenszky <harald@fiwfds02.tu-graz.ac.at> wrote:
>
> Hi there,
>
>
> I've developed an IDL program for data visualisation, running on
> different platforms. To print out the data plots, I spawn the
> appropriate printer command depending on the given operating system.
>
> For example:
>
> - Unix
>
> IDL>spawn, 'lpr -hPhp4m test.txt'
>
> - VMS
>
> IDL>spawn, 'PRINT/QUEUE=NET$PRINT test.txt'
>
> How can I print out files in IDL on a PC using Windows 95 (the
> network printer is connected as \\fiwf04\hp_laser)?
>
>
> Thanks in advance,
> Harald
>
To keep the best quality, write graphics as postscript files and print
them
via ghostscript (is available also for WIN95 from Aladdin Enterprises:
ftp://ftp.cs.wisc.edu/ghost/aladdin/ghostscript
You'll have the full control of the output via the DEVICE command
(like size, color,....)
With a bit of brain work you are able to spawn also a process which will
print
your file directly as Postscript file to the network printer via
ghostscript
but this I haven't installed because there was no need for.
The menu option Edit->Print Graphics is useful only for quick looks
because
its resolution is limited by the resolution of the monitor
Michael Werger
|
|
|