PRB: Cannot Specify Multiple Port Names Under Windows 95ID: Q158361
|
SetPrinter fails when pPortName is set to multiple ports under Windows 95.
If printer pooling is desired, Windows NT should be used. Otherwise, a
single port should be specified under Windows 95.
The use of multiple ports (printer pooling) is not supported under Windows 95.
This behavior is by design.
The 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 fails with the following error message if multiple ports are specified under Windows 95. :
#1796 - ERROR_UNKNOWN_PORT
Additional query words: 4.00 GetPrinter pool kbdsd
Keywords : kbSDKWin32 kbWinOS95 kbDSupport
Version : WINDOWS:95
Platform : WINDOWS
Issue type : kbprb
Last Reviewed: July 1, 1999