Secure Global Desktop Administration Guide > Applets > countJobs (print applet)

countJobs (print applet)

Syntax

int countJobs()

Description

The countJobs method returns how many print jobs the user has available. This includes both print jobs currently printing and those in the print queue.

Examples

jobs = countJobs();
alert("Number of jobs: " + jobs);

Displays a dialog showing the number of jobs in the print queue for the user.

Related topics