获取打印消息

This commit is contained in:
suyl
2021-07-01 13:52:06 +08:00
parent aa0eee9812
commit 92b6d309e4
4 changed files with 110 additions and 20 deletions

View File

@@ -4,6 +4,13 @@ const (
PrinterStatusOnlineWithoutPaper = 2 //在线正常缺纸
PrinterStatusOnline = 1 //在线正常
PrinterStatusOffline = -1 //离线
PrintMsgAlreadySend = 2 //已经发出打印消息
PrintMsgSuccess = 1 //打印成功
PrintMsgWait = 0 //待打印
PrintMsgFail = -1 //打印失败(打印机报出)
PrintMsgErr = -2 //京西报出
PrintMsgAll = -9
)
type Printer struct {