Important: The information in this document is obsolete and should not be used for new development.
PrSetError
You can use thePrSetError
procedure to set the value of the current printing error.
PROCEDURE PrSetError (iErr: Integer);
iErr
- The result to set as the current printing error.
DESCRIPTION
ThePrSetError
procedure stores the specified value into the global variablePrintErr
, where the Printing Manager keeps its result code. You can usePrSetError
to cancel a printing operation.ASSEMBLY-LANGUAGE INFORMATION
You should not directly access the location of the global variablePrintErr
; instead you should use thePrError
function orPrSetError
procedure to get the value of this variable.The trap macro and routine selector for the
PrSetError
procedure are
Trap macro Selector _PrGlue $C0000200