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

Home » Public Forums » archive » Printing a text file.
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Printing a text file. [message #28418 is a reply to message #28330] Tue, 04 December 2001 18:28 Go to previous message
Andrew Cool is currently offline  Andrew Cool
Messages: 219
Registered: January 1996
Senior Member
John Copley wrote:
>
> I am looking for ways to print an ascii text file from within an IDL
> application. I need to be able to do this for unix, windows and macos.
> Unix is not a problem: I spawn a command such as "lpr -Plp0 filename".
> With Windows the best I have been able to come up with is to spawn a
> command such as "c:\windows\notepad.exe /p filename" which is not very
> elegant (and nor is the printout). I haven't yet investigated
> possibilities for macos.
>
> Also does anyone know of a way to attach the date and time to
> printouts of IDL source code? I get very confused when I have multiple
> printouts and do not know which is the latest version.
>
> Your comments are appreciated.
> John Copley

Hi John,

I have an IDL Macro that prints the chroma-coded IDL source code of
the active edit window under Windows IDLDE. It calls a freeware utility
to do the actual printing.

I'll email the two files and instructions direct to you, and anyone
else
who puts their paw up.

Andrew

------------------------------------------------------------ ---------
Andrew D. Cool .->-.
Electromagnetics & Propagation Group `-<-'
Surveillance Systems Division Transmitted on
Defence Science & Technology Organisation 100% recycled
PO Box 1500, Edinburgh electrons
South Australia 5108

Phone : 061 8 8259 5740 Fax : 061 8 8259 6673
Email : andrew.cool@dsto.defence.gov.au
------------------------------------------------------------ ---------
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Looking for roll correction routine
Next Topic: IDLDE macro for printing chroma-colored source code

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

Current Time: Fri Oct 10 05:51:35 PDT 2025

Total time taken to generate the page: 1.36028 seconds