Starts an iSeries™ writer job.
unsigned int CWB_ENTRY cwbOBJ_StartWriter( cwbOBJ_ObjHandle *printerHandle, cwbOBJ_ObjHandle *outputQueueHandle, cwbOBJ_ParmHandle *parmListHandle, cwbOBJ_ObjHandle *writerHandle, cwbSV_ErrHandle errorHandle);
The following list shows common return values.
CWBOBJ_KEY_ALIGN - Align page CWBOBJ_KEY_ALWDRTPRT - Allow direct printing CWBOBJ_KEY_AUTOEND - Automatically end writer (*YES,*NO) CWBOBJ_KEY_DRWRSEP - Drawer to use for separators CWBOBJ_KEY_FILESEP - Number of file separators CWBOBJ_KEY_FORMTYPE - Name of the form to be used CWBOBJ_KEY_JOBNAME - Name of the job that created file CWBOBJ_KEY_JOBNUMBER - Number of the job that created file CWBOBJ_KEY_USER - Name of the user that created file CWBOBJ_KEY_FORMTYPEMSG - Form type message option CWBOBJ_KEY_MSGQUELIB - Message queue library CWBOBJ_KEY_MSGQUE - Message queue name CWBOBJ_KEY_OUTQUELIB - Output queue library CWBOBJ_KEY_OUTQUE - Output queue CWBOBJ_KEY_SPOOLFILE - Spool file name CWBOBJ_KEY_SPLFNUM - Spool file number CWBOBJ_KEY_WTRSTRPAGE - Page to start the writer on CWBOBJ_KEY_WTREND - When to end the writer CWBOBJ_KEY_WRITER - Writer job name CWBOBJ_KEY_WTRINIT - When to initialize the printer device