PrintStart Event


Top  Previous  Next


Occurs when the object has just started the print process (job).


Syntax

object.PrintStart(FileName, Cancel)

Where object evaluates to a Raw Data Printer object.


The PrintStart event has these arguments:


PartDescription  


FileNameReturns a value (String) that indicates the name of the file currently being printed.  
 
CancelA boolean expression specifying whether to cancel the printing job that has just started.  
 


Remarks

This event is triggered just before the print job actually starts. Setting Cancel to True will cancel the print job and will not send anything to the printer.