receiptline / receiptline

Markdown for receipts. Printable digital receipts. Generate receipt printer commands and images.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Sending data directly to the printer (possibility)

RogerMito opened this issue · comments

Is there some way to send the output directly to the printer or is there some plan to implement it? It'd be too usefull. Currently, Node environment doesn't have good choices for that. Actually, I just know a lib called printer for that which has some problems and limitations.
Thank you so much.

How about "serialport"?
$ npm i serialport
It can be sent to the printer using the virtual serial port drivers provided by the printer manufacturers.

Today we discussed this issue at our monthly meeting. We are planning to provide information on how to communicate with the printer. Thank you.