Redirect printer port

I'm using the Winnt 4.0 workstation.
My company using a stupid dos accounting program which make us only can print data from a printer capture at LPT2.  In win95/98 we used to capture a printer in LPT2 in order to make the printing work.  In workstation I don't see such option so the printing from that program is not working...  Any suggestion?
LVL 9
pcchiuAsked:
Who is Participating?
 
TSauerConnect With a Mentor Commented:
I aggree with tim_holman, the solution is on the commandline, or in the loginscript net use lpt2 \\servername\share name of the printer
0
 
Tim HolmanCommented:
How about a NET USE LPT2 \\server\printername via DOS ?

0
 
XcesCommented:
The print port is from Novell??
0
Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
pcchiuAuthor Commented:
The program is on winnt server but written for DOS.  That program only allow users to print on their LPT2(either have captured LPT2 or physically installed a printer on LPT2).

0
 
Tim HolmanCommented:
TSauer,
  So you think agreeing with me is a good way to take all the credit ?
0
 
sh0xCommented:
net use lpt2 \\server\printername /persistent:yes

/persistent:yes will have it always reconnect, incase you can't get the command in a login script.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.