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 22.0.2021.10.28
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS Virtual Printer C API Help
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.