next up previous contents
Next: onEndPrinting Up: Events Previous: onNewPage   Contents

onPrint

Description
Fires when it's printing. You should handle this event to render the page.


Syntax

Printer.onPrint = function (page)
{
}


Parameters

page
Integer. The page number. The number of the first page is 0.




Copyright ©2000-2010 Shanghai TopCMM Software Technologies. All Rights Reserved.