NWPSComEjectForm(3nw)
NWPSComEjectForm --
sends form feed to printer
Synopsis
#include <nwps_com.h>
or
#include <nwpsrv.h>
NWCCODE NWAPI NWPSComEjectForm
(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 (from zero to the maximum number of printers).
Return values
- 0x0000
-
NWPSE_SUCCESSFUL
- 0x00ED
-
NWPSE_CONNECTION_TERMINATED
- 0x0103
-
NWPSE_BINDERY_LOCKED
- 0x0301
-
NWPSE_NOT_ENOUGH_MEMORY
- 0x0302
-
NWPSE_NO_SUCH_PRINTER
- 0x0304
-
NWPSE_PRINTER_BUSY
- 0x0307
-
NWPSE_NOT_CONNECTED
- 0x030C
-
NWPSE_DOWN
- 0x030E
-
NWPSE_NO_RIGHTS
Notices
NWPSComEjectForm is successful only when the printer is idle.
If the printer is active, an error is returned.
NWPSComEjectForm is for operators only.
Services
Print Server
NCP calls
None
References
NWPSComAttachPServerToNServer(3nw),
NWPSComGetPrinterStatus(3nw),
NWPSComLoginToPrintServer(3nw)
30 January 1998
© 1998 The Santa Cruz Operation, Inc. All rights reserved.