Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
620hun81888y@nickpapoutsis I was given this printer, and the whole setup cost less than £20. Printers with wireless capabilities are much more expensive than that. Also, I wouldn't have learned anything by buying one.
-
620hun81888y@tarstrong I might write an article, because all that I found had some problems with them. I had to figure out much of this by myself.
-
@620hun If you didn't buy the printer then is worth it.
If you did it for learning purposes then you did a good job. -
620hun81888yAnd now I was given a fully fledged WiFi printer, so I think this system will have to retire. I learned a lot nonetheless, and I'll probably make the code open source 😄
Related Rants
It's done! Network printer and scanner, hosted by a Raspberry Pi Zero W. I used CUPS to host the printer, but the scanner was much more difficult. I installed apache2 on the Pi to host a HTML front-end that I wrote. Once you set up the scan, the front-end makes an AJAX call to a PHP script, which then calls my Python script that does the scanning and converting. Once that's done, it returns the file name via the AJAX call, then the front-end downloads the scanned PDF on the computer. I even managed to impress my girlfriend, who didn't really understand what I was doing until I showed her the end result 😄
I might try to pipe the output of the conversion straight back via AJAX, to be downloaded without a second call.
undefined
raspberry pi
php
html
python
javascript