PrintError Event


Top  Previous  Next


Occurs when the document is sent to the printer spooler and an error is returned by the system or printer.


Syntax

object.PrintError(ErrNumber, ErrDescription)

Where object evaluates to a Smart Print Control.


The PrintError event has these arguments:


PartDescription  


ErrNumberReturns a value (Long) that indicates the error number received from the system or printer.  
ErrDescriptionReturns a value (String) that indicates the error description received from the system or printer.  



Remarks

This event will also trigger if the document is to read from a file while the file name specified in the FileName property does not exist or is invalid.