You can use the ABORTDOC escape to cancel a print operation, even if you do not have an abort function or an Abort dialog box. Applications that do not have an abort function can use the ABORTDOC escape to cancel the operation at any time. Applications that do have abort functions can use the ABORTDOC escape only before the first NEWFRAME or NEXTBAND escape.