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.