NWPSPdfAddForm(3nw)
NWPSPdfAddForm --
adds form definition to PRINTDEF
Synopsis
#include <nwps_pdf.h>
or
#include <nwpsrv.h>
NWCCODE NWAPI NWPSPdfAddForm
(WORD connType,
DWORD connID,
char NWFAR
formName,
WORD formNumber,
WORD formLength,
WORD formWidth);
Description
The parameters are as follows:
- connType
-
(IN) Specifies either NWPS_BINDERY_SERVICE,
NWPS_BINDERY_SERVICE_PRE_40, or NWPS_DIRECTORY_SERVICE.
- connID
-
(IN) Specifies the connection or context identifier.
- formName
-
(IN) Points to the form name.
- formNumber
-
(IN) Specifies the unique form identifier used by applications.
- formLength
-
(IN) Specifies the number of lines on a text page.
- formWidth
-
(IN) Specifies the number of characters per line on a text page.
Return values
- 0x0000
-
Successful
- -1
-
General Error
- other
-
Bindery or Directory Services Errors
Notices
Forms are independent of printers and are unique on each file server or
context.
Services
Print Server
References
NWPSPdfDeleteForm(3nw),
NWPSPdfReadForm(3nw),
NWPSPdfUpdateForm(3nw)
30 January 1998
© 1998 The Santa Cruz Operation, Inc. All rights reserved.