소스 검색

Merge remote-tracking branch 'origin/master'

master
CANCERYS\kw093 3 달 전
부모
커밋
915e1bb3c1
1개의 변경된 파일4개의 추가작업 그리고 4개의 파일을 삭제
  1. +4
    -4
      src/main/java/com/ffii/core/utils/ZebraPrinterUtil.kt

+ 4
- 4
src/main/java/com/ffii/core/utils/ZebraPrinterUtil.kt 파일 보기

@@ -57,12 +57,12 @@ open class ZebraPrinterUtil {

// 4. Send the ZPL command to the printer via a network socket
val printData = zplCommand.toByteArray()
repeat(printQty ?: 1) { index ->
Socket(printerIp, printerPort).use { socket ->
val os: OutputStream = socket.getOutputStream()
os.write(printData)
os.flush()
}
repeat(printQty ?: 1) { index ->
os.write(printData)
os.flush()
}
}
}
} catch (e: Exception) {


불러오는 중...
취소
저장