feat:增加ms439打印机错误码

This commit is contained in:
石崇礼 2025-03-06 14:14:03 +08:00
parent 5c34a03e7f
commit f4edd0189b
1 changed files with 37 additions and 0 deletions

View File

@ -224,4 +224,41 @@ public final class ErrorCodeConstants {
KEYPAD_ERROR_CODE.put(-57, "一些设备能够识别试图欺骗获得重要信息或媒介的恶意物理攻击。在这些情况下,将返回此错误代码,显示用户试图对该设备采取欺骗行为");
KEYPAD_ERROR_CODE.put(-58, "此时被请求的操作无效,或在设备当时的状态下,被请求的操作无效");
}
public static final Map<Integer, String> MS439_PRINT_ERROR_CODE;
static {
MS439_PRINT_ERROR_CODE = new HashMap<>();
MS439_PRINT_ERROR_CODE.put(-100, "FORM未找到");
MS439_PRINT_ERROR_CODE.put(-101, "FIELD未找到");
MS439_PRINT_ERROR_CODE.put(-102, "缺纸");
MS439_PRINT_ERROR_CODE.put(-103, "设备不支持读操作");
MS439_PRINT_ERROR_CODE.put(-104, "不支持FLUSH");
MS439_PRINT_ERROR_CODE.put(-105, "Media超域");
MS439_PRINT_ERROR_CODE.put(-106, "Field语法错误");
MS439_PRINT_ERROR_CODE.put(-107, "处理Field时发生错误");
MS439_PRINT_ERROR_CODE.put(-108, "Media未找到");
MS439_PRINT_ERROR_CODE.put(-109, "设备无法获得范围");
MS439_PRINT_ERROR_CODE.put(-110, "无效的Media");
MS439_PRINT_ERROR_CODE.put(-111, "无效的Form");
MS439_PRINT_ERROR_CODE.put(-112, "无效的Field");
MS439_PRINT_ERROR_CODE.put(-113, "Media错误");
MS439_PRINT_ERROR_CODE.put(-114, "回收箱满");
MS439_PRINT_ERROR_CODE.put(-115, "STACKE满");
MS439_PRINT_ERROR_CODE.put(-116, "设备不能翻页");
MS439_PRINT_ERROR_CODE.put(-117, "设备不能翻转介质");
MS439_PRINT_ERROR_CODE.put(-118, "Shutter执行命令失败");
MS439_PRINT_ERROR_CODE.put(-119, "卡纸");
MS439_PRINT_ERROR_CODE.put(-120, "文件读取失败");
MS439_PRINT_ERROR_CODE.put(-121, "字符集不一致");
MS439_PRINT_ERROR_CODE.put(-122, "卡纸");
MS439_PRINT_ERROR_CODE.put(-123, "缺纸");
MS439_PRINT_ERROR_CODE.put(-124, "墨水用完");
MS439_PRINT_ERROR_CODE.put(-125, "色带用完");
MS439_PRINT_ERROR_CODE.put(-126, "成象灯不可操作");
MS439_PRINT_ERROR_CODE.put(-127, "资源无效");
MS439_PRINT_ERROR_CODE.put(-128, "命令序列不对");
MS439_PRINT_ERROR_CODE.put(-129, "介质的长度不对");
}
}