NielsLeenheer / ThermalPrinterStatus

Get status information back from StarPrint and ESC/POS printers
MIT License
0 stars 0 forks source link

Status check for LAN Printers #2

Open Business360 opened 2 months ago

Business360 commented 2 months ago

Hi

I would like to know if this repository can be used to get the information from a printer that's connected over the LAN Network?

If so, can you please help in getting it sorted?

NielsLeenheer commented 2 months ago

This library is dependent on WebSerialReceiptPrinter or WebUSBReceiptPrinter for communicating with the printer from the browser.

In theory it would be possible to use it in Node with network printers, but you would have to create a library for opening a network socket to the printer. I might look into that in the future, but right now I am focused in getting this to work with my own browser based connection libraries.

NielsLeenheer commented 1 month ago

It's early days, and ThermalPrinterStatus needs to be updated for this to work, but... https://github.com/NielsLeenheer/NetworkReceiptPrinter

Should be available on npm later this week.