By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
446,360 Members | 2,199 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 446,360 IT Pros & Developers. It's quick & easy.

Print spooler status

P: n/a
Hi everybody,

I would like to know whether there is a method to know how many pending jobs
to be printed in print spooler from VB .NET 2005. My problem is that if a
large document is sent to printer, then another document is sent almost at
the same time, the second one may not print correctly. I'm using
PrintDocument to do the print job. So I want to know whether the previous
large one is finished, then send the second one to aviod this problem.

Does anybody has any idea on this issue? Thanks for your attention and
kindly advice!

James Wong
Apr 19 '07 #1
Share this Question
Share on Google+
2 Replies

P: n/a
Hi James,

I'm not sure why the second document may not print correctly if sent almost
at the same time; this normally shouldn't be a problem. After all, a
network printer will be accepting multiple print jobs from different users
at the same time.

Anyway, to query the printer spooler (queue) status, you either need to use
WMI (search for win32_printer) or use API directly, such as this one:

#Merrion Computing Ltd - How to monitor a print spooler queue
Please feel free to let me know if there's anything unclear. Thanks.
Walter Wang (wa****, remove 'online.')
Microsoft Online Community Support

Get notification to my posts through email? Please refer to
ications. If you are using Outlook Express, please make sure you clear the
check box "Tools/Options/Read: Get 300 headers at a time" to see your reply

Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at

This posting is provided "AS IS" with no warranties, and confers no rights.

Apr 20 '07 #2

P: n/a
Hi James,

Would you please reply here to let me know the status of this post? Thanks.
Walter Wang (wa****, remove 'online.')
Microsoft Online Community Support

When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.

This posting is provided "AS IS" with no warranties, and confers no rights.

Apr 25 '07 #3

This discussion thread is closed

Replies have been disabled for this discussion.