PrtGAbortPrintJob

From EDM2
Jump to: navigation, search

Description

Aborts the print job and deletes the document from the print queue.

Syntax

ok = PrtGRxAbortPrintJob( printer);

Parameters

printer
Identifier for the printer object from PrtGRxInit.

Return Code

TRUE (1) if successful else FALSE (0).

Example Code

/********************************************************************/
/* Abort the print job                                              */
/********************************************************************/

ok = PrtGRxAbortPrintJob( printer);

Related Functions

  • PrtGRxOpenPrintJob
  • PrtGRxClosePrintJob