【文件属性】:
文件名称:gopos:用于Golang的ESCPOS库
文件大小:5KB
文件格式:ZIP
更新时间:2021-05-11 06:00:54
Go
gopos
带有模板的Golang分布式ESC / POS库
如何使用
使用REDIS发布
特征..
ESC / POS命令库
模板化(最佳功能恕我直言)
您可以通过按入redis进行打印,如果有很多打印机,它非常有用。
JSON已推送至Redis:
{
"print": "... template ..."
}
Redis> publish print "...blob of json..."
示例模板
[[justify 1]]Kitchen receipt[[lf]][[justify 2]]
justified just right
[[justify 0]]justified left..
[[cut]]
印刷:
Kitchen receipt
justified just right
justified left..
【文件预览】:
gopos-master
----gopos.go(1KB)
----LICENSE(1KB)
----redis.go(763B)
----README.md(682B)
----commands.go(2KB)
----.gitignore(266B)
----cmd()
--------gopos.go(1KB)