Skip past navigation linksSecure Global Desktop Administration Guide > Applets > getPrinterName (print applet)

getPrinterName (print applet)

Syntax

Skip past command syntax or program codeString getPrinterName()

Description

The getPrinterName method lets you determine the client device's printer name. getPrinterName returns the string used to specify the printer name.

Examples

Skip past command syntax or program codeprinter = getPrinterName();
alert("Printer is " + printer);

Displays a dialog showing the name of the client device's default printer.

Related topics