I know similar question have been asked before like here and a few other places. but I want to ask something about the basic concepts.
So, i have been assigned a project i have to make a "usb logger". The main function of the project is to capture data transmitted from PC to Usb printer on the logger software so raw data of each printout can be saved into a file for logging and analysis.
I was told that i can use a third party tool like usbpcap but I suggested why dont we get directly data from print spooler. as far as i know print spooler maintains a queue of the data to be printed.
before i start working on this project i want to ask a few basic questions
1) what is raw data in this scenario ?
2) can I achieve this by getting directly from spooler or is there another way.
3) which one will require more pc resources communicating with usb port or spooler?
I just need to understand the domain completely. (i will be developing this project using C#)
Thanks