zhangyang 6 年 前
コミット
55552a5b75
1 ファイル変更3 行追加3 行削除
  1. 3 3
      lewaimai_pos_windows/tool/CPosPrinter.cpp

+ 3 - 3
lewaimai_pos_windows/tool/CPosPrinter.cpp

@@ -306,7 +306,7 @@ int CPosPrinter::GetDevicePath(LPGUID lpGuid, LPTSTR* pszDevicePath)
                     // 调整计数值
                     nCount++;
 
-                    //LOG_INFO("Cnt = " << nCount << ",pDetail->DevicePath =" << pDetail->DevicePath);
+                    LOG_INFO("Cnt = " << nCount << ",pDetail->DevicePath =" << pDetail->DevicePath);
                 }
             }
         }
@@ -1028,9 +1028,9 @@ int CPosPrinter::WriteBuf(const char* buf, int len)
                 {
                     if(GetLastError() == ERROR_IO_PENDING)
                     {
-                        LOG_INFO("Request queued, waiting... handle:" << hPort);
+                        //LOG_INFO("Request queued, waiting... handle:" << hPort);
                         WaitForSingleObject(hPort, 5000);
-                        LOG_INFO("Request completed, handle:" << hPort);
+                        //LOG_INFO("Request completed, handle:" << hPort);
                         DWORD numread;
                         rc = GetOverlappedResult(
                                  hPort,