Capturing an LPT port in Windows XP PRO

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
 
P

purplehaz

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.
 
N

Nancy

Tom,

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

hth
Nancy
 
N

NobodyMan

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.
 
S

Si Ballenger

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.
 
D

Drew a

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

Top