Secure Global Desktop Administration Guide > Applets > countJobs (print applet)
int countJobs()
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.
jobs = countJobs(); alert("Number of jobs: " + jobs);
Displays a dialog showing the number of jobs in the print queue for the user.
Copyright © 1997-2005 Sun Microsystems, Inc. All rights reserved.