Secure Global Desktop Administration Guide > Applets > getPrintState (print applet)
int getPrintState()
The getPrintState
method returns status information
about the print applet and the Secure Global Desktop printing system.
This return value... | Indicates... |
---|---|
0
|
The print applet is in the process of starting. |
1
|
The print applet is able to print; no print jobs are queued. |
2
|
The print applet is currently printing. |
3
|
The print applet is paused. |
4
|
The client's default printer is offline; the print applet is paused. |
5
|
The Secure Global Desktop printing system is paused. |
6
|
The Secure Global Desktop printing system is disabled. |
7
|
An error has occurred. The print applet is unable to print. |
8
|
An error has occurred in an array of Secure Global Desktop servers. The print applet is unable to print. |
currentState = getPrintState(); alert("Printing state: " + currentState);
Displays a dialog showing the current printing state.
Copyright © 1997-2005 Sun Microsystems, Inc. All rights reserved.