Cancels printing of the specified job ID.
#include "Ltprinter.h"
L_LTPRINTER_API L_INT EXT_FUNCTION L_PrnCancelPrintedJob(pszPrinterName, jobID)
Character string containing the name of the LEADTOOLS Virtual Printer Driver.
Job ID of the job to be canceled .
Value | Meaning |
---|---|
SUCCESS | The function was successful. |
< 1 | An error occurred. Refer to Return Codes. |
Calling L_PrnCancelPrintedJob raises the PRNJOBINFOPROC and receives the PRN_JOB_END status.
Win32, x64.
For an example, refer to L_PrnRegisterJobCallback