Skip to content

LUA library for printing to ESC/POS-compatible thermal printers

License

Notifications You must be signed in to change notification settings

sodomon2/lua-escpos

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

lua-escpos

lua library for printing to ESC/POS-compatible thermal printers based on https://github.com/mike42/escpos-php

Usage

local escpos = require("escpos")

escpos:connector_type(type) -- linux or network
device:connector(device_connector)

escpos:text("Hello World!! from lua")
escpos:feed(1)
device:close()

Dependencies

About

LUA library for printing to ESC/POS-compatible thermal printers

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages