Discussion Locked

DOS Print

0 helpful
8 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
I need to print a file directly in Win 98. I was testing on a Win 2000 machine and had no problem using the old DOS Print command from the RUN prompt. I was surprised to find out it's not on our Win 98 and 95 machines. Can't I use Print in Win 95/98?

8 replies

by gigelul

For local printer:
type autoexec.bat>lpt1

For network printer:
net use lpt1: \\ServerName\PrinterName
type autoexec.bat>lpt1

Delete lpt1:
net use lpt1: /delete

by mkramarz

I'm familiar with type (coming from the old DOS environment) but it doesn't appear to be available on Win 98.

by limatik

I think answer#1 is good.

And there still is a type command in all Windows versions. Try running it from the command prompt.

by instrumentality

I've done it a million times, but just to verify, I tried using the TYPE command from a Windows 98 machine and it worked fine.

What indication do you have that there is no "type" command? Do you receive a "Bad command or filename" message when you try using that command from a DOS prompt?

by mkramarz

You're all right... Sorry... When I couldn't run "Print", I searched for the Print application file on a 2000 machine and found it but couldn't find it on a 98 machine...So instead of running type at the command line (in a batch file), I tried to search for "TYPE" in the windows directories. When I didn't find it, I assumed it wouldn't run. I'm still stumped on why it runs when I can't find a reference to it on the hard drive (built into Windows?), but it WORKS

This discussion is closed to new replies.