Click here to Skip to main content
15,845,681 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
I would like to know if c# has the capacity to detect when a print job has been sent to the printer.
I have write a small program, where c# windows application detect a page to sent to printer

What I have tried:

i have tried searching the solution but failed
Posted
Updated 20-Jun-23 22:05pm

1 solution

Not sure what terms you searched for, but a quick Google for "c# monitor print queue" produces a lot of results.

For example:
Monitor jobs in a printer queue (.NET)[^]
A Simple Approach for Controlling Print Jobs using WMI[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900