ToPage Property
The ToPage property contains the number of the last page to print.
Syntax
PrintDialogOptions.ToPage [=long]
|
Possible Values
Long value that specifies or retrieves the page number.
|
The property is read/write.
Remarks
Examples
The following example prints the first page 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.FromPage = 1;
options.ToPage = 1;
return false;
}
</SCRIPT>
|
Applies to
SiteKiosk v6.2 (and later versions).
Back to top