Secure Global Desktop Administration Guide > Applets > setPrinterType (print applet)
boolean setPrinterType(String type)
The setPrinterType
method lets you set the type of the
client device's default printer. Acceptable printer types
are:
PCL
PostScript
Text
Note This list can be extended by modifying the file
printertypes.txt
. For more information, see The tta_print_converter
script.
setPrinterType
reports success or failure by returning
true
or false
.
If you don't use setPrinterType
, the print applet
attempts to discover the printer type itself.
setPrinterType("PostScript");
Sets the printer type to PostScript.
Copyright © 1997-2006 Sun Microsystems, Inc. All rights reserved.