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

Home » Public Forums » archive » Re: DOS print command
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
Re: DOS print command [message #18577] Thu, 20 January 2000 00:00
Ben Tupper is currently offline  Ben Tupper
Messages: 186
Registered: August 1999
Senior Member
"Liam E. Gumley" wrote:

>
> How about one of the following:
>
> spawn, 'copy mydoc.ps prn:'
> spawn, 'copy mydoc.ps lpt1:'
>

Thanks for the tip.

I bumped into the keyword PRINT_FILE for the WIN device. It was entirely too
easy!

DEVICE, Print_File = 'mydoc.ps'

Now all I need to get is a PostScript printer. I was surprised, by the way,
to learn that not all HP printers can translate
HP-PCL files. Surprise!

Thanks again,

Ben
--
Ben Tupper
Pemaquid River Company
248 Lower Round Pond Road
POB 106
Bristol, ME 04539

Tel: (207) 563-1048
Email: PemaquidRiver@tidewater.net
Re: DOS print command [message #18589 is a reply to message #18577] Wed, 19 January 2000 00:00 Go to previous message
Liam E. Gumley is currently offline  Liam E. Gumley
Messages: 378
Registered: January 2000
Senior Member
Ben Tupper wrote:

> Hello,
>
> When I spawn a print command to the default printer in UNIX I might type
> something like:
> SPAWN, 'lp mydoc.ps'
>
> What is the equivalent command for DOS/MS-DOS. I tried SPAWN, 'print
> mydoc.ps', but I am told
> that the latest versions of MS-DOS don't accept that command.

How about one of the following:

spawn, 'copy mydoc.ps prn:'
spawn, 'copy mydoc.ps lpt1:'

Cheers,
Liam.
http://cimss.ssec.wisc.edu/~gumley
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: TriGrid?
Next Topic: Re: IDL 5.3 on HP-UX 10.20

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

Current Time: Wed Oct 08 15:10:48 PDT 2025

Total time taken to generate the page: 0.00756 seconds