Jump to content

PrtGAbortPrintJob: Difference between revisions

From EDM2
Ak120 (talk | contribs)
Ak120 (talk | contribs)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
Aborts the print job and deletes the document from the print queue.  
Aborts the print job and deletes the document from the print queue.


==Syntax==
==Syntax==
Line 5: Line 5:


==Parameters==
==Parameters==
; printer: Identifier for the printer object from PrtGRxInit.
;printer: Identifier for the printer object from ''PrtGRxInit''.


==Return Code==
==Return Code==

Latest revision as of 14:09, 4 October 2023

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