In Internet Cafes where people are allowed to print, sometimes they print more pages than they intended to.
I'm looking for a way to display an "Are you sure you want to print X pages?" dialog after they pressed print (in any application), but before the job is sent to the queue.
I'm looking for pointers on how to implement such a hook.
(I have considered modifying a FOSS PDF printer to first print into a PDF and then display the dialog and then if the user presses "Yes", print it on the real printer. But this seems a really roundabout way of doing this and one also loses printer-specific features this way.)