MS-DOS Applications Do Not Recognize Redirected LPT PortsLast reviewed: April 10, 1997Article ID: Q102218 |
The information in this article applies to:
SYMPTOMSRedirected LPT ports created with Print Manager are not seen by MS-DOS applications. Printing to the LPT port will result in the following error message:
The system cannot write to the specified device.The error message may vary depending on the application attempting to print.
CAUSEPorts shared in Print Manager are not automatically translated to devices for Virtual MS-DOS Machines (VDM). Windows 16-bit applications that use standard Windows calls to print will work fine. Programs that try to access the port directly via a device name (LPTx) will be unable to print.
RESOLUTIONIn order to print from MS-DOS applications, use the following command in a VDM:
NET USE LPTx \\computername\sharenameThis command will enable your MS-DOS applications to access your shared printer through the LPTx port you indicate on the command line. You can make the LPTx connection persistent by using the /PERSISTENT:YES switch when issuing the NET USE command.
STATUSMicrosoft has confirmed this to be a problem in Windows NT version 3.1 and Windows NT Advanced Server version 3.1. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.
|
Additional query words: prodnt
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |