miniprogram-bluetoothprinter icon indicating copy to clipboard operation
miniprogram-bluetoothprinter copied to clipboard

大佬,如何在打印那里插一个二维码进去打印出来呀?能分享一下嘛?

Open zengholiday opened this issue 5 years ago • 5 comments

大佬,如何在打印那里插一个二维码进去打印出来呀?能分享一下嘛?

zengholiday avatar Apr 18 '19 08:04 zengholiday

是吧二维码做成图片的方式进行处理么

kaleai avatar Apr 19 '19 04:04 kaleai

我研究好了

zengholiday avatar Apr 22 '19 03:04 zengholiday

@zengholiday 希望能分析下思路和部分代码,是转为图片的方式做了么。这个功能对我特别重要,所以还希望可以请教请教。我的微信:shark0017。

kaleai avatar Apr 23 '19 08:04 kaleai

不是啊,直接传入打印机的指令。我的打印机是ESC指令的

在 2019-04-19 12:29:26,"Kale" [email protected] 写道:

是吧二维码做成图片的方式进行处理么

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.

zengholiday avatar Apr 26 '19 02:04 zengholiday

node-escpos 这个项目里面有二维码的部分,或许对你有帮助

benioZhang avatar Apr 26 '19 02:04 benioZhang