VB.Net - Printer queue propeties
-
Hi, I am doing a project and wonder if anyone can point me in the right direction. I want to within VB.Net control a printer's print queue. I want to be able to view, pause or cancel a print job e.g. sent a document to the printer at a pause state, then able to print it. Don't know if you can just view a certain user's documents as well e.g. User Document A Let1.doc B Rent.doc A Cash.xls Able just to display A Let1.doc A Cash.xls Any ideas would be gratefully appriciated.
-
Hi, I am doing a project and wonder if anyone can point me in the right direction. I want to within VB.Net control a printer's print queue. I want to be able to view, pause or cancel a print job e.g. sent a document to the printer at a pause state, then able to print it. Don't know if you can just view a certain user's documents as well e.g. User Document A Let1.doc B Rent.doc A Cash.xls Able just to display A Let1.doc A Cash.xls Any ideas would be gratefully appriciated.
I think that this sits very much in the WMI arena. Have a search on google for WMI Printer Queue scripts, and then start to research this subject. If you also search for WMI VB.NET you will get examples of how to integrate the scripts into the vb.net code.
Dave Find Me On: Web|Facebook|Twitter|LinkedIn CPRepWatcher now available as Packaged Chrome Extension, visit my articles for link.