Keeping a soft copy of print jobs

  • Thread starter Thread starter Keith M
  • Start date Start date
K

Keith M

Hi

I'm working on a Win2000/XP security based system and one of the
requirements is that when a print job is made, a copy of whatever gets sent
to the printer should be saved on disk and an audit entry made to identify
this.
Our software already hooks certain Print API's; StartDoc, StartPage,
EndPage, EndDoc and we also have a custom print driver written using the DDK
that can manipulate the device contexts of the print jobs to add our own
text.

Does anyone have an idea how I can capture the printed job and save details?
This should work for printing from any application.

My initial thoughts are to try and mimic what happens when you select 'print
to file' when printing and then end up with a *.prn file but I don't know
how to achieve this through code.

Any advice welcomed.

Thanks
 
Print Queue Manager has a feature that allows you to send a copy of the print
job to a hidden queue. Although you can not view that job online you can drag
it and drop it back on to the real queue if you wanted to see what it was.
 
Back
Top