We need a windows printer port monitor with the following facilities:
- Stream the print-data into a tempfile
- through the portmonitor configuration dialog select a DLL, that does the postprocessing
- onPrintComplete or onTerminate/onCancel call (and on any other event, where the print job disapears from the windows spool manager) call a function in the configured DLL: NewPrintJob(Tempfile: String; Pages: Integer; Status: integer); where Tempfile ist tha name of the file, the print-data is streamed to, pages are the amount af pages printed and status is the state the printjob terminated (successful, deleted etc.)
We need this including sourcecode, without any refrenence to any external lincenses (like used GPL code).
Job can be done in C/C++ or delphi.
Please uses the latest Win-DDK. The Portmonitor should be used starting with at least Win2K up to W2003.