# PrintDialogOptions Object The PrintDialogOptions object contains the print dialog options. Members Table The following table lists the members provided by the PrintDialogOptions object.
Members
Properties | Description
ActiveFrame | Whether to print the active frame.
AreRatingsEnabled | Whether ratings are enabled.
AsShown | Whether to print as shown.
Copies | Number of copies.
FontScaling | Scaling of the font.
FromPage | First page to print.
Linked | Whether to print the linked pages.
Orientation | Portrait or landscape orientation.
PrinterName | Name of the printer to be used.
RootDocumentHasFrameset | Whether the root document has a frameset.
ShortcutTable | Whether to print a list of shortcuts.
ToPage | Last page to print.
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