PRB: Cannot Specify Multiple Port Names Under Windows 95Last reviewed: November 6, 1996Article ID: Q158361 |
The information in this article applies to:
SYMPTOMSSetPrinter fails when pPortName is set to multiple ports under Windows 95.
CAUSEThe use of multiple ports (printer pooling) is not supported under Windows 95.
WORKAROUNDIf printer pooling is desired, Windows NT should be used. Otherwise, a single port should be specified under Windows 95.
STATUSThis behavior is by design.
MORE INFORMATIONThe Win32 SDK documentation for PRINTER_INFO_2 states that multiple port names can be specified in the pPortName field. However, the documentation fails to state that this is only valid under Windows NT. Printers may not be connected to multiple ports under Windows 95. SetPrinter will fail with error "#1796 - ERROR_UNKNOWN_PORT" if multiple ports are specified under Windows 95.
|
KBCategory: kbprint kbprb
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |