mirror of
https://github.com/MultiMote/niimbluelib.git
synced 2025-03-17 03:51:01 +03:00
Add missing packet, camel-case errors
This commit is contained in:
parent
ec1993668a
commit
53a9b5152a
@ -73,6 +73,7 @@ export enum ResponseCommandId {
|
|||||||
In_SetPageSize = 0x14,
|
In_SetPageSize = 0x14,
|
||||||
In_SoundSettings = 0x68,
|
In_SoundSettings = 0x68,
|
||||||
In_PageEnd = 0xe4,
|
In_PageEnd = 0xe4,
|
||||||
|
In_PrinterPageIndex = 0xe0,
|
||||||
}
|
}
|
||||||
|
|
||||||
export enum PrinterInfoType {
|
export enum PrinterInfoType {
|
||||||
@ -161,44 +162,44 @@ export enum PrintTaskVersion {
|
|||||||
|
|
||||||
/** In_PrintError status codes */
|
/** In_PrintError status codes */
|
||||||
export enum PrinterErrorCode {
|
export enum PrinterErrorCode {
|
||||||
COVER_OPEN = 0x01,
|
CoverOpen = 0x01,
|
||||||
LACK_PAPER = 0x02,
|
LackPaper = 0x02,
|
||||||
LOW_BATTERY = 0x03,
|
LowBattery = 0x03,
|
||||||
BATTERY_EXCEPTION = 0x04,
|
BatteryException = 0x04,
|
||||||
USER_CANCEL = 0x05,
|
UserCancel = 0x05,
|
||||||
DATA_ERROR = 0x06,
|
DataError = 0x06,
|
||||||
OVERHEAT = 0x07,
|
Overheat = 0x07,
|
||||||
PAPER_OUT_EXCEPTION = 0x08,
|
PaperOutException = 0x08,
|
||||||
PRINTER_BUSY = 0x09,
|
PrinterBusy = 0x09,
|
||||||
NO_PRINTER_HEAD = 0x0a,
|
NoPrinterHead = 0x0a,
|
||||||
TEMPERATURE_LOW = 0x0b,
|
TemperatureLow = 0x0b,
|
||||||
PRINTER_HEAD_LOOSE = 0x0c,
|
PrinterHeadLoose = 0x0c,
|
||||||
NO_RIBBON = 0x0d,
|
NoRibbon = 0x0d,
|
||||||
WRONG_RIBBON = 0x0e,
|
WrongRibbon = 0x0e,
|
||||||
USED_RIBBON = 0x0f,
|
UsedRibbon = 0x0f,
|
||||||
WRONG_PAPER = 0x10,
|
WrongPaper = 0x10,
|
||||||
SET_PAPER_FAIL = 0x11,
|
SetPaperFail = 0x11,
|
||||||
SET_PRINT_MODE_FAIL = 0x12,
|
SetPrintModeFail = 0x12,
|
||||||
SET_PRINT_DENSITY_FAIL = 0x13,
|
SetPrintDensityFail = 0x13,
|
||||||
WRITE_RFID_FAIL = 0x14,
|
WriteRfidFail = 0x14,
|
||||||
SET_MARGIN_FAIL = 0x15,
|
SetMarginFail = 0x15,
|
||||||
COMMUNICATION_EXCEPTION = 0x16,
|
CommunicationException = 0x16,
|
||||||
DISCONNECT = 0x17,
|
Disconnect = 0x17,
|
||||||
CANVAS_PARAMETER_ERROR = 0x18,
|
CanvasParameterError = 0x18,
|
||||||
ROTATION_PARAMETER_EXCEPTION = 0x19,
|
RotationParameterException = 0x19,
|
||||||
JSON_PARAMETER_EXCEPTION = 0x1a,
|
JsonParameterException = 0x1a,
|
||||||
B3S_ABNORMAL_PAPER_OUTPUT = 0x1b,
|
B3sAbnormalPaperOutput = 0x1b,
|
||||||
E_CHECK_PAPER = 0x1c,
|
ECheckPaper = 0x1c,
|
||||||
RFID_TAG_NOT_WRITTEN = 0x1d,
|
RfidTagNotWritten = 0x1d,
|
||||||
SET_PRINT_DENSITY_NO_SUPPORT = 0x1e,
|
SetPrintDensityNoSupport = 0x1e,
|
||||||
SET_PRINT_MODE_NO_SUPPORT = 0x1f,
|
SetPrintModeNoSupport = 0x1f,
|
||||||
SET_PRINT_LABEL_MATERIAL_ERROR = 0x20,
|
SetPrintLabelMaterialError = 0x20,
|
||||||
SET_PRINT_LABEL_MATERIAL_NO_SUPPORT = 0x21,
|
SetPrintLabelMaterialNoSupport = 0x21,
|
||||||
NOT_SUPPORT_WRITTEN_RFID = 0x22,
|
NotSupportWrittenRfid = 0x22,
|
||||||
ILLEGAL_PAGE = 0x32,
|
IllegalPage = 0x32,
|
||||||
ILLEGAL_RIBBON_PAGE = 0x33,
|
IllegalRibbonPage = 0x33,
|
||||||
RECEIVE_DATA_TIMEOUT = 0x34,
|
ReceiveDataTimeout = 0x34,
|
||||||
NON_DEDICATED_RIBBON = 0x35,
|
NonDedicatedRibbon = 0x35,
|
||||||
}
|
}
|
||||||
|
|
||||||
export * from "./packet";
|
export * from "./packet";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user