XPRINT CANCEL statement

Purpose

Cancel a print job on the host printer.

Syntax

XPRINT CANCEL

Remarks

XPRINT CANCEL deletes the current print job and detaches the host printer, as long as XPRINT CLOSE has not yet been executed.  This function is generally used to abort the print process when an error occurs.

See also

XPRINT ATTACH, XPRINT CLOSE