A forum for reverse engineering, OS internals and malware analysis 

Ask your beginner questions here.
 #19758  by acoustics
 Mon Jun 24, 2013 3:37 am
Hi !
I want to write a filter driver for printer. After installing the filter, I can get information about processes which initiated print job and stop print job if I want. It will also work with network printer and local printer.
Is there possibility to write filter driver for printer's spooler? Thanks for help. :D
 #19770  by nullandnull
 Mon Jun 24, 2013 4:06 pm
Filter drivers are kind of a beast to write. Have you downloaded the Microsoft DDK? If not, I'd recommend downloading it and checking it out. There are a lot of great examples in the SRC dir. One folder named %InstallPath%Src\print\monitors\localmon might be a good place to start.