소스 검색

部分usb打印机会阻塞writefile

张洋 5 년 전
부모
커밋
2b9f3c143d
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  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};