Solved

Redirect printer port

Posted on 1999-01-15
6
219 Views
Last Modified: 2013-12-28
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?
0
Comment
Question by:pcchiu
6 Comments
 
LVL 23

Expert Comment

by:Tim Holman
ID: 1797388
How about a NET USE LPT2 \\server\printername via DOS ?

0
 
LVL 1

Expert Comment

by:Xces
ID: 1797389
The print port is from Novell??
0
 
LVL 9

Author Comment

by:pcchiu
ID: 1797390
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
Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

 
LVL 3

Accepted Solution

by:
TSauer earned 100 total points
ID: 1797391
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
 
LVL 23

Expert Comment

by:Tim Holman
ID: 1797392
TSauer,
  So you think agreeing with me is a good way to take all the credit ?
0
 

Expert Comment

by:sh0x
ID: 1797393
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

Featured Post

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Sometimes drives fill up and we don't know why.  If you don't understand the best way to use the tools available, you may end up being stumped as to why your drive says it's not full when you have no space left!  Here's how you can find out...
If you get continual lockouts after changing your Active Directory password, there are several possible reasons.  Two of the most common are using other devices to access your email and stored passwords in the credential manager of windows.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
This video Micro Tutorial explains how to clone a hard drive using a commercial software product for Windows systems called Casper from Future Systems Solutions (FSS). Cloning makes an exact, complete copy of one hard disk drive (HDD) onto another d…

786 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question