NWPSComStartPrinter(3nw)


NWPSComStartPrinter -- starts stopped printer

Synopsis

   #include <nwpsrv.h> 
   

NWCCODE NWAPI NWPSComStartPrinter (WORD spxID, WORD printerID);

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).

Return values

0x0000
NWPSE_SUCCESSFUL

0x00ED
NWPSE_CONNECTION_TERMINATED

0x0301
NWPSE_NOT_ENOUGH_MEMORY

0x0302
NWPSE_NO_SUCH_PRINTER

0x0307
NWPSE_NOT_CONNECTED

0x030C
NWPSE_DOWN

0x030E
NWPSE_NO_RIGHTS

Notices

If the print job is paused when the printer is stopped, the print job resumes when NWPSComStartPrinter is issued. If the print job was not paused, the print server requests the next job. If the printer is not stopped when NWPSComStartPrinter is issued, it returns NWPSE_SUCCESSFUL.

NWPSComStartPrinter is for operators only.

Services

Print Server

NCP calls

None.

References

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