I want my raspberry to be recognized as a printer by Windows when somebody connects it via usb.
I don't really want to print anything, I just need it to receive data when somebody selects it as a printer. For that I will listen later on the usb port.
I'm not sure how difficult the samba approach is: http://www.makeuseof.com/tag/make-wireless-printer-raspberry-pi/ But it is important, that there is no knowledge required for the windows user/the device is plug and play usable.
I guess the raspberry has a device descriptor, which I need to override.
The user will only use windows computers.
Questions
How can I get the raspberry be recognized as a printer
How can I let the raspberry send my driver, so that the user does not have to download and install it manually
Is there an easy tutorial for writing a printer driver, this is the closest and most descriptive I found so far:
https://msdn.microsoft.com/en-us/library/windows/hardware/hh439665(v=vs.85).aspx
PS: I'm mostly used to JavaScript
and have some experience in C
and C++
EDIT: More samba ressources: http://www.tldp.org/LDP/LG/issue72/bright.html
Still I'm looking for a solution which also works without network connection as well