Secure Global Desktop 4.31 Administration Guide > Applets > getPrinterType (print applet)
String getPrinterType()
The getPrinterType
method lets you determine the type
of the client device's default printer. getPrinterType
returns one of the following printer types:
PCL
PostScript
Text
Unknown
Unknown
means the printer type is unavailable.
Note This list can be extended by modifying the file
printertypes.txt
. For more information, see The tta_print_converter
script.
myType = getPrinterType();
Determines the type of the client device's default printer.
Copyright © 1997-2007 Sun Microsystems, Inc. All rights reserved.