Available in LEADTOOLS Imaging Pro, Vector, Document, and Medical Imaging toolkits. |
L_PrnCancelPrintedJob
#include "Ltprinter.h"
L_LTPRINTER_API L_INT EXT_FUNCTION L_PrnCancelPrintedJob(pszPrinterName, jobID)
L_TCHAR * pszPrinterName; |
/* printer name */ |
L_INT jobID; |
/* job ID */ |
Cancels printing of the specified job ID.
Parameter |
Description |
pszPrinterName |
Character string containing the name of the LEADTOOLS Virtual Printer Driver. |
jobID |
Job ID of the job to be canceled . |
Returns
SUCCESS |
The function was successful. |
< 1 |
An error occurred. Refer to Return Codes. |
Comments
Calling L_PrnCancelPrintedJob raises the Jobcallback function and receives the JobEnd status.
Required DLLs and Libraries
LTPRINTER |
Win32, x64.
See Also
Functions: |
|
Topics: |
LEADTOOLS Virtual Printer: Register and Un-register Callback Functions |
|
Example
For an Example, refer to L_PrnRegisterJobCallback.