SplQpPrint

SplQpPrint processes and prints the spool file.

Syntax
SplQpPrint(hproc, pszFileName);

Parameters

 * hproc (HPROC) - input
 * Queue processor handle returned by SplQpOpen.


 * pszFileName (PSZ) - input
 * The pointer to the name of the file containing the data.

Return Code

 * fSuccess (BOOL) - returns
 * Return codes.

On completion, the handling routine must return BOOLEAN (fSuccess).


 * TRUE Success
 * FALSE Error

Remarks
The handling routine in the queue driver opens a DC for an OD_DIRECT device type using the parameters passed into SplQpOpen.

Example Code

 * 1) include 

HPROC   hproc;        /*  Queue processor handle returned by SplQpOpen. */ PSZ     pszFileName;  /*  The pointer to the name of the file containing the data. */ BOOL    fSuccess;     /*  Return codes. */

fSuccess = SplQpPrint(hproc, pszFileName);

