>Hello Sergey
>
>in Frequently Asked Questions (FAQ ID: 8114) i found your "How can I get the number of jobs in print queue".
>
>I got 2 questions for it:
>
>1st) shouldn't you be closing the printer handel at the end? looks like this happens only if an error occurs at the end.
Yes, there should be and there is as of now. :)
>2nd) if a printer can not be found, maybe because the host computer is off, or the printer path is incorrect, etc., with a list of 47 network printers (about 10 not found) it takes about 5 minutes to process all (on a 1.6GHz machine). any idea on how to speed this up?
Not at the moment.
--sb--