Esp8266 + printer

Does anyone tried to make esp8266 to interact with printer/scanner? I was thinking I have 2 printers connected to same wifi. One has copy and scan function but it uses ink. Other is super robust laser printer. So I am thinking to get best of both and make them work together. But I don’t know how. The idea is to make esp with one pushbutton and SD card. And when button is pushed it connects to scanner downloads image and then connects to printer and makes it print that image. I know sounds a bit stupid but laser printer is much more efficient and if it is possible it would act as standalone copier.

Would be easier with a device that can run Linux, like a Raspberry Pi Zero W. Those are available for $15… A script triggered by a button to run, say, scanimage or scanadf, and then print the resulting file, would likely be possible, if both devices are supported by Linux.

http://www.sane-project.org/man/scanimage.1.html

http://www.martoneconsulting.com/sane-scanadf.html

5 Likes

Good thinking …

These esp32 variants are usually less costly than a PI… I think they are much like the @Ernests_Brigis board…

From around 2021… some reading … to think about


Good luck…

:smile_cat:

While a very slim Linux kernel and utils might run on an ESP32, it will be tough to also get SANE and CUPS, plus the printer drivers on the ESP32. rPi ZeroWs are available and are only $15.

1 Like

I was thinking of the newer PIs that are (were) about $50.

:smile_cat:

That’s why I said:

:grin:

Ya @jkwilborn there are many rPi’s and come in all ranges of pricing. Michael did mention specifically the rPi Zero W. Check it out if you have not because they are cheap and run full Linux. I have one running Node Red with MQTT server(mosquito) and it blows me away how well it works.

1 Like

Yes, I’ll check it out…

:smile_cat: