L_PrnCancelPrintedJob

#include "Ltprinter.h"

L_LTPRINTER_API L_INT EXT_FUNCTION L_PrnCancelPrintedJob(pszPrinterName, jobID)

Cancels printing of the specified job ID.

Parameters

L_TCHAR * pszPrinterName

Character string containing the name of the LEADTOOLS Virtual Printer Driver.

L_INT jobID

Job ID of the job to be canceled .

Returns

Value Meaning
SUCCESS The function was successful.
< 1 An error occurred. Refer to Return Codes.

Comments

Calling L_PrnCancelPrintedJob raises the PRNJOBINFOPROC and receives the PRN_JOB_END status.

Required DLLs and Libraries

Platforms

Win32, x64.

Help Version 20.0.2020.4.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS Virtual Printer C API Help