Discussion Locked

Printing from DOS program in W2K

0 helpful
6 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
Moving form a NetWare server to a Windows 2000 server I cannot get my DOS bases programs to print unless the priter is attached directily to the workstation doing the printing. How can I share printers when printing with a DOS based program on the W2K network.

6 replies

by brian

Here are the details in case you dont want to paste the link.

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 jereg

You need to use the Net Use command. At the DOS prompt of the PC you're trying to print from type:

NET USE LPT1 \\server\printer

That will send DOS print jobs to LPT1. typing NET USE /? will give you a list of options.
Hope that helps.

This discussion is closed to new replies.