printing QR codes through an ESC/POS thermal printer?

后端 未结 3 1357
滥情空心
滥情空心 2020-12-30 06:55

I\'m printing some QR codes (from a Ruby script) writing ESC/POS commands to a Epson TM-T20 thermal printer.

BTW, I\'m writing a simple ESC/POS commands printer \"d

3条回答
  •  庸人自扰
    2020-12-30 07:18

    This is in ESC/POS:

    GS "(k"  4 0 49 65 50 0
    GS "(k"  3 0 49 67  5
    GS "(k"  3 0 49 69 48 
    GS "(k" 28 0 49 80 48 "https://stackoverflow.com/"
    GS "(k"  3 0 49 81 48
    

提交回复
热议问题