| By
default, most MS-DOS-based programs print directly to either LPT1
or LPT2. However, under Windows NT, the output is not automatically
routed across a redirector to a shared network printer unless you
establish a persistent connection using NET.EXE.
To do so, use the following syntax at a command prompt:
NET USE LPTn: \\server\printer /PERSISTENT:YES
When printing to a Novell Netware 3.12 queue, Microsoft suggests
using the following syntax instead:
NET USE LPTn: \\server\queue
If the port is redirected successfully, the following message should
appear:
The command completed successfully
To disconnect persistent LPTn: connections, use the following syntax:
NET USE LPTn: /DELETE
ALTERNATE PROCEDURE FOR NOVELL NETWARE
Some Novell Netware users report that the above Microsoft commands
do not work for them, and suggest replacing them with the following
Netware commands:
To connect a networkprinter to LPTn, use the following syntax:
CAPTURE L=n Q=networkprinter NB NFF NT TI=30
To disconnect, type:
ENDCAP |