L_PrnCancelPrintedJob

#include "Ltprinter.h"

L_LTPRINTER_API L_INT EXT_FUNCTION L_PrnCancelPrintedJob(pszPrinterName, jobID)

L_TCHAR * pszPrinterName;

printer's name

L_INT jobID;

job ID

Cancels printing of the specified job ID.

Parameter

Description

pszPrinterName

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

jobID

Job ID of the job to be canceled .

Returns

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

LTPRINTER
For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your LEADTOOLS Virtual Printer Driver Application.

Platforms

Win32, x64.

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
LEADTOOLS Virtual Printer C API Help