Capturing an LPT port in Windows XP PRO

  • Thread starter Thread starter Tom
  • Start date Start date
T

Tom

I am trying to run a DOS based program and I need to
capture the LPT2 port to be able to print my docs. In
windows 98 all you do is go to properties of the printer
and click capture port. Winodws XP doesn't have this
option. How is the accomplished?
Thanks,
Tom
 
This would be a function of the printer drivers/software not a function of
windows. It is possible that the printer drivers/software does not have this
option in xp or is not supported in xp. Try updating the printer drivers and
software from the printers website.
 
Tom,

You have to use a net use command like below
net use lpt1: \\servername\printername /persistent:yes

hth
Nancy
 
I am trying to run a DOS based program and I need to
capture the LPT2 port to be able to print my docs. In
windows 98 all you do is go to properties of the printer
and click capture port. Winodws XP doesn't have this
option. How is the accomplished?
Thanks,
Tom

If your old DOS program is trying to go around the OS and capture the
port directly, then you are going to have to go searching for a new
program. WinXP won't allow direct hardware access.
 
I looked on my win98 machine and it looks like the "capture LPT"
is actually mapping the normal print output going to the parallel
port to a network printer somewhere else.
 
Start / Run, type CMD [ok]

at the prompt, type the following (press "enter" after each line):

Net Use LPT1: /d
Net Use LPT1: \\ PcName\PrinterName

Notes:
the 1st line is to delete (clear) the existing port.
the 2nd line is to recapture it again and set it to the path
for your DOS app.

If that does not work, then substitute LPT2 for LPT1 in the
sequence listed in above.

- - - -- - - -
 

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

LPT3 should be LPT1 7
Printing - Port Capture of LPT1 5
LPT port disable on boot up 2
Capture port LPT1 2
LPT Problems in XP 4
Capture a printer port 1
LPT1/LPT2 4
Can't capture video 10

Back
Top