I'm actually looking for a way to intercept a document send in the spooler via delphi's code.
The large part of my problem is that some printers don't save print job to the hard drive. There's an API call (FindFirstPrinterChangeNotification [winspool]) that i can use. But i've tried it and it seems that it's looking in the spool directory if there's a new job added to the spooler. Like i've said, some printer don't save a file to the hard drive, i need a way to capture all the data of the print jobs not saved to the drive.
Do anybody know how to get the information directly from the spooler?