PrtGAbortPrintJob: Difference between revisions
Appearance
m Ak120 moved page OS2 API:PrintGraph:PrtGAbortPrintJob to PrtGAbortPrintJob |
No edit summary |
||
| 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. | ||
Revision as of 19:47, 27 January 2017
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