PrintObject()

Syntax:

PrintObject( PrintDialog, CancelDialog )

Parameters:

PrintDialog – display the printer poperties dialog box before printing. PrintDialog can be true or false. If true the print dialog box will appear. If false, the print dialog will not appear. This parameter is optional and the default is false.

CancelDialog - display the cancel dialog box while the page is printing. CancelDialog can be true or false. If true, the cancel dialog will appear. If false, the cancel dialog will not appear. This parameter is optional and the default is true.

Remarks:

This function will print the object it is called on.

image\Script_Button.jpgExamples