L_PrnCancelPrintedJob

Summary

Cancels printing of the specified job ID.

Syntax

#include "Ltprinter.h"

L_LTPRINTER_API L_INT EXT_FUNCTION L_PrnCancelPrintedJob(pszPrinterName, jobID)

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.

See Also

Functions

Topics

Example

For an example, refer to L_PrnRegisterJobCallback

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

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