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
1) How can I get the raspberry be recognized as a printer
2) How can I let the raspberry send my driver, so that the user does not have to download and install it manually
3) 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
pi 3
. This tutorials are for the pi zero: learn.adafruit.com/… & pi.gbaman.info/?p=699. No need to reopen now, I will try how far I can get with this tutorial and than add more specific questions to the problems I get along the way.