This commit is contained in:
suyl
2021-07-09 10:40:55 +08:00
parent 4fe9db5189
commit 42a60e8d04

View File

@@ -374,8 +374,8 @@ func buildMsg(printMsg *model.PrintMsg) (data []byte, err error) {
orderNo = printMsg.OrderNo
str = "1e"
const1 = "0200ff50"
printInit = "1b40" //打印机初始化
voice = "1d6b4018fd002a0101736f756e64612cc4fad3d0d0c2b6a9b5a5c0b1" //语音,中国
printInit = "1b40" //打印机初始化
voice = "1d6b4022fd003401015b7631305d736f756e64612cc4fad3d0d0c2b6a9b5a5c0b1" //语音,中国
check = "ff"
//qr = "1d58021b5a0001061600747470733a2f2f7777772e62616964752e636f6d2f1b000A0A0A1B40"
orderNoHexH, orderNoHexL, printData string