NWPSComMarkTopOfForm(3nw)
NWPSComMarkTopOfForm --
sends characters to printer to indicate top of page
Synopsis
#include <nwps_com.h>
or
#include <nwpsrv.h>
NWCCODE NWAPI NWPSComMarkTopOfForm
(WORD spxID,
WORD printerID,
char mark);
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 minus 1).
- mark
-
(IN) Specifies the character to print across the top of the form.
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
- 0x0306
-
NWPSE_GOING_DOWN
- 0x030C
-
NWPSE_DOWN
- 0x030E
-
NWPSE_NO_RIGHTS
Notices
If the operator chooses an illegal character, an asterisk is substituted.
The printer must be inactive for this packet to be successful. If the
printer is active, an error is returned.
NWPSComMarkTopOfForm is for operators only.
Services
Print Server
NCP calls
None
References
NWPSComGetPrinterStatus(3nw),
NWPSComAttachToPrintServer(3nw),
NWPSComLoginToPrintServer(3nw)
30 January 1998
© 1998 The Santa Cruz Operation, Inc. All rights reserved.