Explorar o código

部分usb打印机会阻塞writefile

张洋 %!s(int64=5) %!d(string=hai) anos
pai
achega
2b9f3c143d
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      lewaimai_pos_windows/tool/CPosPrinter.cpp

+ 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};