PrtGAbortPrintJob: Difference between revisions
Appearance
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..." |
|||
| (4 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== | ||
ok = PrtGRxAbortPrintJob( printer); | |||
ok = PrtGRxAbortPrintJob( printer); | |||
==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). | ||
==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== | ||
* | *PrtGRxOpenPrintJob | ||
* | *PrtGRxClosePrintJob | ||
[[Category:REXX Function Library]] | |||
[[Category: | |||
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