tags:

views:

303

answers:

2

We are developing a critical application and need to have the finest control over the documents printed. To be sure on which documents are printed or not we want to check the printer queue.

How can we query the print queue on Windows (status, queue list, errors, ...)?

+2  A: 

EnumPrinters to get the list of printers, EnumJobs to get a list of jobs for that printer. GetJob to get info on a specific job and SetJob to change the settings for that job (pause or cancel it)

See more in the Printing and Print Spooler References

.NET has the PrintQueue and PrintServer classes.

moogs