NWPSComGetPrintersServicingQ(3nw)


NWPSComGetPrintersServicingQ -- identifies printers servicing queue

Synopsis

   #include <nwps_com.h> 
   or 
   #include <nwpsrv.h> 
   

NWCCODE NWAPINWPSComGetPrintersServicingQ (WORD spxID, char NWFAR *nServerName, char NWFAR *queueName, WORD maxPrinters, WORD NWFAR *actualPrinters, WORD NWFAR *queueArray);

Description

The parameters are as follows:

spxID
(IN) Specifies the SPX connection to the print server.

nServerName
(IN) Points to the name of the client's NetWare server.

queueName
(IN) Points to the name of the queue.

maxPrinters
(IN) Specifies the maximum number of printers to return.

actualPrinters
(OUT) Points to the actual number of printers returned.

queueArray
(OUT) Points to the array of bytes. A byte is allocated for each printer attached to the print server, up to the maximum number requested.

Return values

0x0000
NWPSE_SUCCESSFUL

0x00ED
NWPSE_CONNECTION_TERMINATED

0x0103
NWPSE_BINDERY_LOCKED

0x0301
NWPSE_NOT_ENOUGH_MEMORY

0x030C
NWPSE_DOWN

0x030E
NWPSE_NO_RIGHTS

Notices

The number of bytes in the array corresponds to the number of printers attached to the print server and each byte in the array represents a different printer. maxPrinters is the maximum number of printers to be returned.

NWPSComGetPrintersServicingQ is for operators and users.

Services

Print Server

NCP calls

None

References

NWPSComAddQueueToPrinter(3nw), NWPSComAttachToPrintServer(3nw), NWPSComDeleteQueueFromPrinter(3nw), NWPSComLoginToPrintServer(3nw), NWPSComGetQueuesServiced(3nw)
30 January 1998
© 1998 The Santa Cruz Operation, Inc. All rights reserved.