NWPSJobSet(3nw)
NWPSJobSet --
sets print job record with defined values
Synopsis
#include <nwps_job.h>
or
#include <nwpsrv.h>
NWCCODE NWAPI NWPSJobSet
(WORD connType,
NWPS_Job_Rec NWFAR
pJobRecord,
char NWFAR
formName,
char NWFAR
deviceName,
char NWFAR
modeName,
char NWFAR
bannerName,
char NWFAR
jobName,
char NWFAR
bindNServr,
char NWFAR
bindQueue,
char NWFAR
bindPserver,
WORD dsUseQueueName,
char NWFAR
dsObjectName);
Description
The parameters are as follows:
- connType
-
(IN) Specifies either NWPS_BINDERY_SERVICE,
NWPS_BINDERY_SERVICES_PRE_40, or NWPS_DIRECTORY_SERVICES.
- pJobRecord
-
Points to NWPS_Job_Rec.
- formName
-
Points to the form name.
- modeName
-
Points to the mode name.
- bannerName
-
Points to the banner name.
- jobName
-
Points to the job name.
- bindNServer
-
Points to the bindery NetWare server name.
- bindQueue
-
Points to the bindery queue name.
- bindPServer
-
Points to the bindery print server name.
- dsUseQueueName
-
Specifies which queue to use: TRUE=next field
(dsObjectName) is the queue.
- dsObjectName
-
Points to the queue or printer name.
Return values
- 0
-
Success
- -1
-
Failure
Notices
pJobRecord should have been initialized by calling
NWPSJobInit.
Services
Print Server
NCP calls
None.
References
NWPSJobInit(3nw),
NWPSJobWrite(3nw),
NWPSJobSetDefault(3nw)
30 January 1998
© 1998 The Santa Cruz Operation, Inc. All rights reserved.