getPrintState (print applet)

Syntax

int getPrintState()

Description

The getPrintState method returns status information about the print applet and the Tarantella 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 Tarantella printing system is paused.
6 The Tarantella 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 Tarantella servers. The print applet is unable to print.

Examples

currentState = getPrintState();
alert("Printing state: " + currentState);

Displays a dialog showing the current printing state.

Related topics
  • Print applet
  • setPausedState (print applet)