Print Method
The print method prints the current page using the standard printer settings.
Syntax
SiteKioskWindow.SiteKioskWebBrowser.Print()
|
Return Value
Remarks
Note that the SiteKioskWindow object can only be referenced from within a browser skin file.
Use "SiteKiosk.WindowList.MainWindow.SiteKioskWindow.SiteKioskWebBrowser.Print();" if you want to call the print method in a website that is displayed in SiteKiosk.
Note also that the InitScriptInterface method must be called with the parameter "document" if frames are used.
The Printer object handles existing printers and print jobs and provides information about them.
Examples
The following example prints the page after the print button was clicked.
<SCRIPT TYPE="text/javascript">
window.external.InitScriptInterface();
document.write("<a href='#' onclick='SiteKioskWindow.
SiteKioskWebBrowser.Print()'><img src='your_print_button.gif'></a>");
</SCRIPT>
|
Applies to
SiteKiosk v5.0 (and later versions).
Back to top