ps = new PrintServer(printserverName);
PrintQueue pq1 = new PrintQueue(ps, pq.Name);
As I understand it, pq1this is a printer queue that will process print jobs. A.
I want to capture events for this print queue. A.
For example, if user A prints, this print job is added to the queue. I want this job to be added to the queue event. So, I can know how many pages are allowed by the user or user check.
source
share