NWGetMaxPrinters(3nw)


NWGetMaxPrinters -- returns number of physical and logical LPT ports

Synopsis

   #include <nwprint.h> 
   or 
   #include <nwcalls.h> 
   

NWCCODE NWFAR NWPASCAL NWGetMaxPrinters (pnuint16 numPrinters);

Description

The parameters are as follows:

numPrinters
(OUT) Points to the number of printers that can be captured.

Return values

0x0000
SUCCESSFUL

0x8848
BAD_VLM_ERROR

Notices

NWGetMaxPrinters returns the number of LPT ports for which captures can be managed:

OS/2 9
DOS shell 3
DOS VLM shell 0-9

 
 OS/2            9 
 DOS shell       3 
 DOS VLM shell   0-9 
To configure the DOS VLM shell, set NetWare Printers = x in net.cfg, where x is an integer 0-9.

Memory is allocated for each specified LPT port.

Services

Print

NCP calls

None
30 January 1998
© 1998 The Santa Cruz Operation, Inc. All rights reserved.