Skip past navigation linksSecure Global Desktop Administration Guide > Applets > countJobs (print applet)

countJobs (print applet)

Syntax

Skip past command syntax or program codeint 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

Skip past command syntax or program codejobs = countJobs();
alert("Number of jobs: " + jobs);

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

Related topics