Эх сурвалжийг харах

部分usb打印机会阻塞writefile

张洋 6 жил өмнө
parent
commit
2b9f3c143d

+ 2 - 0
lewaimai_pos_windows/tool/CPosPrinter.cpp

@@ -1382,6 +1382,8 @@ int CPosPrinter::WriteBuf(const unsigned char* buf, int len)
  **/
 bool CPosPrinter::PortTest(HANDLE hPort)
 {
+	return true;
+
     //标签打印机的查询状态指令
     char chInitCode[2] = { 0x1b, 0x40};