There's my FAQ How can I get the number of jobs in print queue FAQ #8114.
>Hello Sergey, > > I've read another thread which says you had explained how to get the number of print jobs in the print queue. Could you please link me to that thread. > >Thanks, >Steven-