com.pax.dal

Interface IPrinter.IPinterListener

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method and Description
      void onError(int errCode)
      打印失败回调
      Print the error callback
      void onSucc()
      打印成功回调
      Print the success callback
    • Method Detail

      • onSucc

        void onSucc()
        打印成功回调
        Print the success callback
      • onError

        void onError(int errCode)
        打印失败回调
        Print the error callback
        Parameters:
        errCode -
        • 0: 正常
        • 1: 打印机忙
        • 2: 打印机缺纸
        • 3: 打印数据包格式错
        • 4: 打印机故障
        • 8: 打印机过热
        • 9: 打印机电压过低
        • -16:打印未完成
        • -6:切刀异常(支持E500,E800)
        • -5:开盖错误(支持E500,E800)
        • -4:打印机未安装字库
        • -2:数据包过长
        • 0- Success
        • 1- Printer is busy
        • 2- Out of paper
        • 3- The format of print data packet error
        • 4- Printer malfunctions
        • 8- Printer over heats
        • 9- Printer voltage is too low
        • -16- Printing is unfinished
        • -6: cut jam error(only support:E500,E800)
        • -5: cover open error(only support:E500,E800)
        • -4- The printer has not installed font library
        • -2- Data package is too long