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 23.0.2024.2.29
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 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.