The Code Project - How to monitor a printer queue from VB.NET - VB.NET
"Although the VB.NET printer handling has improved immeasurably over that offered by Visual Basic 6 there is still a need to turn to the Windows API in order to monitor a print queue. ..."
A nice example on how to monitor Print Queues from VB.NET using API calls.
I'm doing this in VB6 now, but will be moving this to .Net soon, so this info might come in handy.
Another approach is to use WMI. Sometimes though, depending on the printer driver, I've run into problems using WMI. So the fall-back is to use the API...
Tuesday, August 16, 2005
1 comment:
NOTE: Anonymous Commenting has been turned off for a while... The comment spammers are just killing me...
ALL comments are moderated. I will review every comment before it will appear on the blog.
Your comment WILL NOT APPEAR UNTIL I approve it. This may take some hours...
I reserve, and will use, the right to not approve ANY comment for ANY reason. I will not usually, but if it's off topic, spam (or even close to spam-like), inflammatory, mean, etc, etc, well... then...
Please see my comment policy for more information if you are interested.
Thanks,
Greg
PS. I am proactively moderating comments. Your comment WILL NOT APPEAR UNTIL I approve it. This may take some hours...
This comment has been removed by a blog administrator.
ReplyDelete