FindPrinter Method



 
The FindPrinter method returns a printer object by name.


Syntax

    [obj=] SiteKiosk.Printer.FindPrinter(name)
    
Parameters
    name String that specifies the name of the printer.
Return Value
    Returns a PrinterInfo object that provides information about the printer.
Remarks
    None.
Examples
    The following example displays a brief description of the default printer.

    <SCRIPT TYPE="text/javascript">
    window.external.InitScriptInterface();
    dPrinterName = SiteKiosk.Printer.DefaultPrinter;
    dPrinter = SiteKiosk.Printer.FindPrinter(dPrinterName);
    alert(dPrinter.Comment);
    </SCRIPT>
    

Applies to
    SiteKiosk v6.2 (and later versions).

Back to top