I'm looking for a way to hook up all printing jobs on a machine.
We have some Kiosk computers running windows XP, and we would like to allow customers to print. We would like to be able to catch the printing job, as it is sent to the printer, analyze it, show the user a dialog with the price for the printing and if he approves - send the job to the printer.
If he doesn't approve, the job must be canceled.
My first idea was to use a hook. But is there a hook for printing jobs? How is it used?
Someone also mentioned PCL (Printer Command Language), meaning us to write a wrapper for the local printer driver. How difficult is that? Where can i find a good tutorial for PCL?
What about PJL (Printer job language)?
The target language is c++.
Your input will be appreciated.