Has anyone had any experience using the FindFirstPrinterChangeNotification method found within winspool.drv.
The c# examples I've found on the net are pretty useless, and I can't be arsed to spend the time to convert the VB.NET examples, as I'm feeling pretty lazy.
Specifically, I want to call FindFirstPrinterChangeNotification for a callback whenever a new print job enters the spooler so that I can automatically pause it, rename the printer port to a unique filename and then restart the print job.
Ideas and source code welcome
The c# examples I've found on the net are pretty useless, and I can't be arsed to spend the time to convert the VB.NET examples, as I'm feeling pretty lazy.
Specifically, I want to call FindFirstPrinterChangeNotification for a callback whenever a new print job enters the spooler so that I can automatically pause it, rename the printer port to a unique filename and then restart the print job.
Ideas and source code welcome
Comment