Commit b317908e authored by zhaopengxiang's avatar zhaopengxiang

打印配置

parent ccb1d111
......@@ -60,13 +60,13 @@ object PrintService {
//检查打印机状态
printer.printerStatus
printer.set58mm()
if (BuildConfig.DEBUG) {
printCashier(
printer,
payServiceResponse,
selfCashierAccountInfo,
OrderRecordManageKit.getSerialNoByOrderNo(payServiceResponse.shopTradeNo))
} else {
// if (BuildConfig.DEBUG) {
// printCashier(
// printer,
// payServiceResponse,
// selfCashierAccountInfo,
// OrderRecordManageKit.getSerialNoByOrderNo(payServiceResponse.shopTradeNo))
// } else {
printCashier(
printer,
payServiceResponse,
......@@ -79,7 +79,7 @@ object PrintService {
selfCashierAccountInfo,
OrderRecordManageKit.getSerialNoByOrderNo(payServiceResponse.shopTradeNo)
)
}
// }
printer.feedPaper()
printer.endPrint()
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment