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