PrinterName Property
The PrinterName property contains the name of the printer to be used.
Syntax
PrintDialogOptions.PrinterName [=str]
|
Possible Values
String that specifies or retrieves the printer name.
|
The property is read/write.
Remarks
Examples
The following example prints the document that the user requested to print using the first available printer.
<SCRIPT TYPE="text/javascript">
window.external.InitScriptInterface();
SiteKiosk.Printer.OnShowPrintDialog = OnShowPrintDialog;
function OnShowPrintDialog(SKBrowser, options)
{
fPrName = SiteKiosk.Printer.Printers.Item(1).PrinterName;
options.PrinterName = fPrName;
return false;
}
</SCRIPT>
|
Applies to
SiteKiosk v6.2 (and later versions).
Back to top