Discussion Locked

msdos program printing

0 helpful
9 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

I have a user that has an old dos program she uses once a year and right now is the once a year time. How can I get a msdos program to print to a network printer? The OS is W2K and the printer is on nt and netware. Someone suggested capturing a printer to the lpt1 port but I don't know how to do this.

Any suggestions or what?

Any suggestions

9 replies

by durwin

Method 1
Establish a persistent connection using NET.EXE. To do so, use the following syntax at a command prompt:
net use lpt: \\\ /persistent:yes
Method 2
Print directly to the printer share by using the following syntax at a command prompt:
print /d:\\\ :\\
Because Novell NetWare's CAPTURE command is not supported in Windows NT 4.0, use the following command to map the LPT port to a Novell NetWare printer queue:
net use lpt \\server\queue
If the LPT port is redirected successfully, the following message should appear:
The command completed successfully.
To disconnect persistent LPTx connections, use the following syntax:
net use lpt /delete

by phil.hall

Although what poster #1 said is absolutely true, it still might not work. Novell is funny with Win2000.

With Novell, with Client32 installed on the workstation, you may have to right click on the "N" icon inthe systemtray and select "Novell Capture Printer Port" and fill in the blanks there as well.

I know it's duplication, but sometimes it just doesn't seem to "get it" unless you do that.

by ciscofred

If that does not work hook the printer up local lpt on the computer running the program. As last resort thing. Good Luck!

by alon

Is the printer hooked up to a seperate print server like an HP Jet Direct external or internal print server?

I have a client who uses an old dos program every day for his business. We assigned lpt2 as the name for the HP JetDirect print server tcp/ip port name. The dos program uses lpt2 as its setting for the printer with no problems, this works great for him in windows 95,98, and ME, if you are using an HP Jetdirect print server, then that should work for 2000 as well.

Try adding a new port named LPT2 and mapping it to the networked printer using the UNC path if thats how you have it setup, otherwise the above printserver port naming Imentioned should work if thats how you have the printer connected to the network.

Alon

This discussion is closed to new replies.