os:Raspberry Pi
I want to print thai font this is my code
#!/usr/bin/env python
# -*- coding: utf-8 -*-
from escpos import *
import qrcode
Epson = printer.Usb(0x0519,0x0001)
s = u'ตัวอักษรไทย'
Epson.text("Hello World\n")
ss=s.encode('cp874')
Epson.text(ss)
Epson.cut()
but thai letter 'ตัวอักษรไทย' it came out like a added
picture
how can I solve it??
Original issue reported on code.google.com by
diamondh...@gmail.comon 3 Nov 2014 at 10:55Attachments: