Secure Global Desktop Administration Guide > Applets > getPrinterName (print applet)
String getPrinterName()
The getPrinterName
method lets you determine the
client device's printer name. getPrinterName
returns the
string used to specify the printer name.
printer = getPrinterName(); alert("Printer is " + printer);
Displays a dialog showing the name of the client device's default printer.
Copyright © 1997-2005 Sun Microsystems, Inc. All rights reserved.