Commit b317908e authored by zhaopengxiang's avatar zhaopengxiang

打印配置

parent ccb1d111
...@@ -60,13 +60,13 @@ object PrintService { ...@@ -60,13 +60,13 @@ object PrintService {
//检查打印机状态 //检查打印机状态
printer.printerStatus printer.printerStatus
printer.set58mm() printer.set58mm()
if (BuildConfig.DEBUG) { // if (BuildConfig.DEBUG) {
printCashier( // printCashier(
printer, // printer,
payServiceResponse, // payServiceResponse,
selfCashierAccountInfo, // selfCashierAccountInfo,
OrderRecordManageKit.getSerialNoByOrderNo(payServiceResponse.shopTradeNo)) // OrderRecordManageKit.getSerialNoByOrderNo(payServiceResponse.shopTradeNo))
} else { // } else {
printCashier( printCashier(
printer, printer,
payServiceResponse, payServiceResponse,
...@@ -79,7 +79,7 @@ object PrintService { ...@@ -79,7 +79,7 @@ object PrintService {
selfCashierAccountInfo, selfCashierAccountInfo,
OrderRecordManageKit.getSerialNoByOrderNo(payServiceResponse.shopTradeNo) OrderRecordManageKit.getSerialNoByOrderNo(payServiceResponse.shopTradeNo)
) )
} // }
printer.feedPaper() printer.feedPaper()
printer.endPrint() 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