How can I send a file to a network printer?

I have a wifi rev2 and I want it to send a list of things it has done to a printer on the network.

I assume it used http stuff but I have not been able to find any information about this.

What are you using as your printer driver? The web tells me this: " Print data sent from an application is received by the printer driver. The data is sent to the image controller via the USB interface for USB connection or via Ethernet (TCP/IP, etc.) for network connection. Then the data is passed from the image controller to this machine." If you need more help let us know more detaisl such as what arduino, printer, driver, etc you are using.

I have no printer driver. I figured it's a matter of sending bits to a printer via http

printer is on my home network with the usual 192.168. etc.

Never heard of printing from an Arduino. Printers wants PCL or PS or some other protocol, that's what a printer driver is for. Printers you could output plain text to was dot matrix printers, and those are pretty much extinct now.

You can print data from your Arduino, but it have to go through a computer.

Small, "receipt" thermal printers.

1 Like

I saw those in my search too, but they are wired. I was just wondering how hard it would be to send a daily report of all my 18+ gadgets in my house to a one sheet listing of what they did today to my existing printer. But yeah, in a pinch that would work if one can get used to curly paper!

Thanks.

Well if you're that determinded that data has to go straight to printer, curly paper it is :upside_down_face:

I watched the video, it's interesting that he had to up the voltage to 9 to make it darker, but when he printed the test the printer said it was 7.4 volts.

https://dronebotworkshop.com/esp-now/

I tried that for a year and when it works it's fine, but for some reason a lot of messages simply never made it. I use UDP instead. much more reliable.

@sevenoutpinball
Does your printer supports LPD/LPR (socket 515 printing) ?

no idea. it's your basic hp thing

type number?
datasheet?
user manual?

I used chatgpt to get some instruction on installing lpr lpd and that worked but the test print did nothing.

the printer is HP LaserJet Pro M148fdw

Hello @pratsvf - you should start a topic for your issue... you will get more responses to your question (and not the original topic).... then return to remove this one...

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.