COPY [sample.txt] LPT1 stopped working

G

Guest

The basic DOS command of COPY (run from a command window)
no longer works on a Win2k computer. We have one old DOS
based program not fully phased out yet that still relies
on DOS and need to print this way for a few months more.
A test to see if a printing problem exists in the OS or
the old software simply involves running the copy command,
such as: COPY [sample.txt] LPT1 from a C: prompt.

Only on 1 Win2k machine is this a problem, and it used to
work on this machine until recently. Any suggestions?
 
D

David H. Lipman

Try....

Echo "text string" >lpt1

Dave



| The basic DOS command of COPY (run from a command window)
| no longer works on a Win2k computer. We have one old DOS
| based program not fully phased out yet that still relies
| on DOS and need to print this way for a few months more.
| A test to see if a printing problem exists in the OS or
| the old software simply involves running the copy command,
| such as: COPY [sample.txt] LPT1 from a C: prompt.
|
| Only on 1 Win2k machine is this a problem, and it used to
| work on this machine until recently. Any suggestions?
|
 
G

Guest

Echo "text string" >lpt1 ---> Returns nothing
Echo "text string" lpt1 ---> Returns "text string" lpt
Copy "text string" lpt1 ---> Returns 1 file(s) copied

All the Dos commands I tried seem to work. I can even make a directory (md) and then copy my "text string" to that directory, so it looks like the copy command works fine too.

The issue apprears to be how Dos "see's" the lpt1 port.

Is there a way to test the lpt1 port in Dos somehow?

By the way, the printer in Win2k was setup with it's proper drivers (it's an Epson Dot Matrix printer) and worked fine for a year in both Windows and this old Dos program. I even set it up as a Generic printer and it still works fine in the Win2k environment, however for the past few weeks the old Dos program just can't seem to print to the lpt1 port.

Stev

----- David H. Lipman wrote: ----

Try...

Echo "text string" >lpt

Dav



| The basic DOS command of COPY (run from a command window
| no longer works on a Win2k computer. We have one old DO
| based program not fully phased out yet that still relie
| on DOS and need to print this way for a few months more
| A test to see if a printing problem exists in the OS o
| the old software simply involves running the copy command
| such as: COPY [sample.txt] LPT1 from a C: prompt

| Only on 1 Win2k machine is this a problem, and it used t
| work on this machine until recently. Any suggestions
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top