System.out.println(ioe.getMessage());
log.warn(ioe.getMessage());
   public final void hostPrint(int aid) {      if (screen52.isStatusErrorCode()) {         screen52.restoreErrorLine();         screen52.setStatus(Screen5250.STATUS_ERROR_CODE, Screen5250.STATUS_VALUE_OFF,null);      }      screen52.setCursorActive(false);      screen52.setStatus(Screen5250.STATUS_SYSTEM, Screen5250.STATUS_VALUE_ON,null);      // From client access ip capture      // it seems to use an operation code of 3 and 4      // also note that the flag field that says reserved is being sent as well      // with a value of 0x80      //      // I have tried with not setting these flags and sending with 3 or 1      // there is no effect and I still get a host print screen.  Go figure      //0000:  000D 12A0 0000 0400 8003 1407 F6FFEF      //0000:  000D 12A0 0000 0400 8001 110E F6FFEF      //      // Client sends header           000D12A0000004000003####F6FFEF      //       operation code 3      //       row - first ##      //       column - second ##      //       F6 - Print Aid Key      baosp.write(screen52.getCurrentRow());      baosp.write(screen52.getCurrentCol());      baosp.write(AID_PRINT);                 // aid key      try {        writeGDS(0, 3, baosp.toByteArray());      }      catch (IOException ioe) {        System.out.println(ioe.getMessage());      }      baosp.reset();   }