Re: DOS print command [message #18577] |
Thu, 20 January 2000 00:00 |
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  |
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
|
|
|