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
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