Error Event


Top  Previous  Next


Occurs when an error is returned by the system or the printer while sending data to the printer throughout the entire printing process.


Syntax

object.Error(ErrorNumber, ErrorDescription)

Where object evaluates to a Raw Data Printer object.


The Error event has these arguments:


PartDescription  


ErrorNumberReturns a value (Long) that indicates the error number received from the system or the printer.  
 
ErrorDescriptionReturns a value (String) that indicates the description of the error received from the system or the printer.  
 


Remarks

This event will also be triggered if the data is to be read from a file while the file specified in the PrintRawData method argument does not exist or is invalid.