Skip to content

Commit 90fd273

Browse files
committed
add charset CP858
1 parent d864315 commit 90fd273

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

parser.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -196,6 +196,8 @@ func NewCommand(cmdType CommandType, arg string) (Command, error) {
196196
opcode = []byte{escpos.CharsetPC437}
197197
} else if arg == "PC850" {
198198
opcode = []byte{escpos.CharsetPC850}
199+
} else if arg == "PC858" {
200+
opcode = []byte{escpos.CharsetPC858}
199201
} else if arg == "PC860" {
200202
opcode = []byte{escpos.CharsetPC860}
201203
} else if arg == "PC863" {

0 commit comments

Comments
 (0)