Jump to content

PrtGAbortPrintJob: Difference between revisions

From EDM2
Created page with "==Description== Aborts the print job and deletes the document from the print queue. ==Syntax== <PRE> ok = PrtGRxAbortPrintJob( printer); </PRE> ==Parameters== ; printer: Id..."
 
Ak120 (talk | contribs)
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
==Description==
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==
<PRE>
ok = PrtGRxAbortPrintJob( printer);
ok = PrtGRxAbortPrintJob( printer);


</PRE>
==Parameters==
==Parameters==
; printer: Identifier for the printer object from PrtGRxInit.  
;printer: Identifier for the printer object from ''PrtGRxInit''.


==Return Code==
==Return Code==
TRUE (1) if successful else FALSE (0).  
TRUE (1) if successful else FALSE (0).
==Remarks==
 


==Example Code==
==Example Code==
<PRE>
<PRE>
/********************************************************************/
/********************************************************************/
/* Abort the print job                                              */
/* Abort the print job                                              */
Line 23: Line 17:


ok = PrtGRxAbortPrintJob( printer);
ok = PrtGRxAbortPrintJob( printer);
</PRE>
</PRE>


==Related Functions==
==Related Functions==
* [[OS2 API:PrintGraph:PrtGRxOpenPrintJob|PrtGRxOpenPrintJob]]
*PrtGRxOpenPrintJob
* [[OS2 API:PrintGraph:PrtGRxClosePrintJob|PrtGRxClosePrintJob]]
*PrtGRxClosePrintJob
    
    
 
[[Category:REXX Function Library]]
 
[[Category:The OS/2 API Project]]

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