PrintDialogOptions Object
The PrintDialogOptions object contains the print dialog options.
Members Table
The following table lists the members provided by the PrintDialogOptions object.
Remarks
This object is available through the Printer.OnShowPrintDialog event.
Use the PrintDialogOptions object to access the print dialog options.
Note that the path of a file using SiteKiosk objects must be allowed in the
SiteKiosk configuration (Security -> Access -> URL's With Script Permission)
if it is not a browser skin file.
Examples
The following example prints 2 copies of the document that the user requested to print.
<SCRIPT TYPE="text/javascript">
window.external.InitScriptInterface();
SiteKiosk.Printer.OnShowPrintDialog = OnShowPrintDialog;
function OnShowPrintDialog(SKBrowser, options)
{
options.Copies = 2;
return false;
}
</SCRIPT>
|
Applies to
SiteKiosk v6.2 (and later versions).
Back to top