change text encoding

This commit is contained in:
Jay 2017-08-22 09:30:05 +08:00
parent 1df34c0946
commit ff9e696fe4

View File

@ -69,7 +69,7 @@ function printString(str){
.align('ct')
.size(1,1)
for(let i in strs){
printer.text(strs[i])
printer.text(strs[i], 'big5')
}
printer.cut(true, 8)
}