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 #28411 is a reply to message #28330] Wed, 05 December 2001 06:08 Go to previous messageGo to previous message
Mark Rivers is currently offline  Mark Rivers
Messages: 49
Registered: February 2000
Member
John Copley <john.copley@nist.gov> wrote in message
news:cf9627bd.0112040940.4d2a9de7@posting.google.com...
> 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.

With Windows I print Postscript files by spawning "print
/d:\\server_name\printer_share_name file_name.ps"

You should be able to do the same with text files.

Mark Rivers
[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: Sat Oct 11 23:04:22 PDT 2025

Total time taken to generate the page: 1.43858 seconds