Skip to content

jhbruhn/escpos2mqtt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

74 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

escpos2mqtt

This is a service to connect ESC/POS compatible receipt printers to a MQTT broker. Use this in your smart home or for printing receipts!

Further documentation can be found here.

There also is a HomeAssistant Add-On at https://github.com/jhbruhn/escpos2mqtt-hassio.

This server allows you to print receipts using programs sent via MQTT. Programs look like this:

justify center
bold true
size 2,2
writeln "RECEIPT"
reset_size
bold false
feed 1
justify left
writeln "Item 1          $10.00"
writeln "Item 2          $15.00"
underline single
writeln "Total:          $25.00"
underline none
feed 2
justify center
qr_code "https://example.com/receipt/12345"
feed 2
cut

which produces a result like this:

receipt

License

This project is licensed under the MIT license (LICENSE.md or http://opensource.org/licenses/MIT).

About

Connect ESC/POS receipt printers with a network connection to MQTT with HomeAssistant discovery and a receipt DSL.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages