I would like to monitor the print queue and respond to a submitted job ( I simply want to prevent users from printing without permission )

I would be grateful if anybody can provide any clue.

Thanks