The information in this article applies to:
SUMMARYThis article describes how to print to a network printer from an MS-DOS- based program in Windows NT. By default, most MS-DOS-based programs print directly to either LPT1 or LPT2. However, the output is not automatically routed across a redirector to a print share unless you use one of the following methods. MORE INFORMATIONMethod 1Establish a persistent connection using NET.EXE. To do so, use the following syntax at a command prompt:
Method 2Print directly to the printer share by using the following syntax at a command prompt:
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:
If the LPT port is redirected successfully, the following message should appear:
To disconnect persistent LPTx connections, use the following syntax:
NOTE: When attempting to use the CAPTURE command, the following error may be returned (The error message may vary depending on the version of NetWare):
For additional information, please see the following article in the Microsoft Knowledge Base: Q156429Supported 16-bit Utilities and NetWare-Aware Applications Netware is manufactured by Novell, Inc., a vendor independent of Microsoft; we make no warranty, implied or otherwise, regarding this product's performance or reliability. Additional query words: capture port LPT1 LPT2 LPT3
Keywords : kbenv kbprint nthowto ntprint |
Last Reviewed: January 18, 2000 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |