NWPSComRequestRemotePrinter(3nw)


NWPSComRequestRemotePrinter -- requests print server to reserve printer

Synopsis

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

NWCCODE NWAPI NWPSComRequestRemotePrinter (WORD spxID, WORD printerID, NWPS_NInfo NWFAR *info);

Description

The parameters are as follows:

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

printerID
(IN) Specifies the printer (0 to maximum number of printers).

info
(IN) Points to NWPS_RInfo.

Return values

0x0000
NWPSE_SUCCESSFUL

0x00ED
NWPSE_CONNECTION_TERMINATED

0x0301
NWPSE_NOT_ENOUGH_MEMORY

0x0302
NWPSE_NO_SUCH_PRINTER

0x0308
NWPSE_ALREADY_IN_USE

0x030C
NWPSE_DOWN

Notices

NWPSComRequestRemotePrinter applies only to printers that are remote in relation to the print server (user-loadable).

The client should first call NWPSComGetNextRemotePrinter to find out which printer numbers are available.

Services

Print Server

NCP calls

None

References

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