#pragma once

#ifndef __MPOSCONST_H__
#define __MPOSCONST_H__

typedef void (__stdcall *pfnDataEvent)(LPCTSTR data);
typedef void (__stdcall *pfnStatusUpdateEvent)(int status);
typedef void (__stdcall *pfnOutputCompletedEvent)();

#define RES_SUCCESS 0
#define RES_ALREADY_OPEN 1
#define RES_FAIL 1000
#define RES_INVALID_INTERFACE 1001
#define RES_NO_OPEN_DEVICE 1002
#define RES_NOT_SUPPORT 1003
#define RES_INVALID_PARAM 1004
#define RES_NO_RESPONSE 1005
#define RES_CONNECT_FAIL 1006
#define RES_NO_DEVICE 1007
#define RES_NO_FILE 1008
#define RES_NOT_SUPPORT_CODEPAGE 1012
#define RES_NOT_SUPPORT_ICS 1013
#define RES_PAGEMODE_ALREADY_IN 1014
#define RES_TRANSACTION_ALREADY_IN 1015
#define RES_NOT_SUPPORT_ESCSEQ 1017
#define RES_MSR_NOT_READY 1018
#define RES_NO_DEVICE_FOUND 5000
#define RES_NO_PERMISSION 5001
#define RES_DECODE_FAIL 5003

#define MPOS_INTERFACE_WIFI 1
#define MPOS_INTERFACE_ETHERNET 2
#define MPOS_INTERFACE_BLUETOOTH 4
#define MPOS_INTERFACE_USB 16
#define MPOS_INTERFACE_COM 32
#define MPOS_INTERFACE_LPT 64

// Command Mode
#define MPOS_MODE_DEFAULT 0
#define MPOS_MODE_BYPASS 1

#define MPOS_DEVICE_LABEL_PRINTER 1
#define MPOS_DEVICE_PRINTER 10
#define MPOS_DEVICE_HID 20
#define MPOS_DEVICE_MSR 30
#define MPOS_DEVICE_SCANNER 40
#define MPOS_DEVICE_RFID 60
#define MPOS_DEVICE_DALLAS_KEY 70
#define MPOS_DEVICE_NFC 80
#define MPOS_DEVICE_KNOWN 100
#define MPOS_DEVICE_DISPLAY 110
#define MPOS_DEVICE_USB_TO_SERIAL 120
#define MPOS_DEVICE_SCALE 130

#define MPOS_TRANSACTION_IN 1
#define MPOS_TRANSACTION_OUT 0

#define MPOS_READMODE_ALWAYS 1
#define MPOS_READMODE_ONCE 0
#define MPOS_READMODE_NONE 2

//Printer Status flag
#define POS_STATUS_NORMAL 0
#define POS_STATUS_PAPEREMPTY 1
#define POS_STATUS_COVEROPEN 2
#define POS_STATUS_PAPER_NEAREND 4
#define POS_STATUS_ERROR 8
#define POS_STATUS_OFFLINE 16
#define POS_STATUS_BATT_LOW 64
#define POS_STATUS_DRAWER_HIGH 256
#define POS_STATUS_DRAWER_LOW 512
#define POS_STATUS_BGT_BUSY 1200
#define POS_STATUS_BGT_PROGRESS 1201
#define POS_STATUS_BGT_COMPLETED 1202
#define POS_STATUS_BGT_REQUIRE_RESET 1203
#define POS_STATUS_FAIL -1

#define POS_CODEPAGE_CP437 0
#define POS_CODEPAGE_KATAKANA 1
#define POS_CODEPAGE_CP850 2
#define POS_CODEPAGE_CP860 3
#define POS_CODEPAGE_CP863 4
#define POS_CODEPAGE_CP865 5
#define POS_CODEPAGE_WPC1252 16
#define POS_CODEPAGE_CP866 17
#define POS_CODEPAGE_CP852 18
#define POS_CODEPAGE_CP858 19
#define POS_CODEPAGE_CP862 21
#define POS_CODEPAGE_CP864 22
#define POS_CODEPAGE_THAI42 23
#define POS_CODEPAGE_WPC1253 24
#define POS_CODEPAGE_WPC1254 25
#define POS_CODEPAGE_WPC1257 26
#define POS_CODEPAGE_FARSI 27
#define POS_CODEPAGE_WPC1251 28
#define POS_CODEPAGE_CP737 29
#define POS_CODEPAGE_CP775 30
#define POS_CODEPAGE_THAI14 31
#define POS_CODEPAGE_HEBREW_OLD 32
#define POS_CODEPAGE_WPC1255 33
#define POS_CODEPAGE_THAI11 34
#define POS_CODEPAGE_THAI18 35
#define POS_CODEPAGE_CP855 36
#define POS_CODEPAGE_CP857 37
#define POS_CODEPAGE_CP928 38
#define POS_CODEPAGE_THAI16 39
#define POS_CODEPAGE_WPC1256 40
#define POS_CODEPAGE_WPC1258 41
#define POS_CODEPAGE_KHMER 42
#define POS_CODEPAGE_WPC1250 47
#define POS_CODEPAGE_LATIN9 48
#define POS_CODEPAGE_TCVN3 49
#define POS_CODEPAGE_TCVN3_CAPTIAL 50
#define POS_CODEPAGE_VISCII 51
#define POS_CODEPAGE_PC912 52

#define POS_CODEPAGE_KSC5601 949
#define POS_CODEPAGE_SHIFTJIS 932
#define POS_CODEPAGE_BIG5 950
#define POS_CODEPAGE_GB2312 936
#define POS_CODEPAGE_GB18030 54936
#define POS_CODEPAGE_UTF8 54937
#define POS_CODEPAGE_UTF16 54938 //Not Supported on windows
#define POS_CODEPAGE_UTF32 54939 //Not Supported on windows

#define POS_ICS_USA 0
#define POS_ICS_FRANCE 1
#define POS_ICS_GERMANY 2
#define POS_ICS_UK 3
#define POS_ICS_DENMARK_I 4
#define POS_ICS_SWEDEN 5
#define POS_ICS_ITALY 6
#define POS_ICS_SPAIN_I 7
#define POS_ICS_JAPAN 8
#define POS_ICS_NORWAY 9
#define POS_ICS_DENMARK_II 10
#define POS_ICS_SPAIN_II 11
#define POS_ICS_LATIN_AMERICA 12
#define POS_ICS_KOREA 13
#define POS_ICS_SLOVENIA_CROATIA 14
#define POS_ICS_CHINA 15

#define POS_NO_FEED_PARTIAL_CUT 0
#define POS_NO_FEED_FULL_CUT 1
#define POS_FEED_PARTIAL_CUT 65
#define POS_FEED_FULL_CUT 66

#define POS_PAGEMODE_OUT 0
#define POS_PAGEMODE_IN 1

#define POS_DIRECTION_0 0
#define POS_DIRECTION_LEFT90 1
#define POS_DIRECTION_180 2
#define POS_DIRECTION_RIGHT90 3

#define POS_IMAGE_NONE 0
#define POS_IMAGE_RLE 1
#define POS_IMAGE_LZMA 2

#define POS_BARCODE_UPCA 101
#define POS_BARCODE_UPCE 102
#define POS_BARCODE_EAN8 103
#define POS_BARCODE_JAN8 103
#define POS_BARCODE_EAN13 104
#define POS_BARCODE_JAN13 104
#define POS_BARCODE_ITF 106
#define POS_BARCODE_CODABAR 107
#define POS_BARCODE_CODE39 108
#define POS_BARCODE_CODE93 109
#define POS_BARCODE_CODE128 110
#define POS_BARCODE_GS128 111
#define POS_BARCODE_GS1DATABAR_OMNIDIRECTIONAL 112
#define POS_BARCODE_GS1DATABAR_TRUNCATED 113
#define POS_BARCODE_GS1DATABAR_LIMITED 114

#define POS_BARCODE_TEXT_NONE 0
#define POS_BARCODE_TEXT_ABOVE 1
#define POS_BARCODE_TEXT_BELOW 2
#define POS_BARCODE_TEXT_BOTH 3

#define POS_PDF417 201
#define POS_PDF417_SIMPLIFIED 202
#define POS_DATAMATRIX 203
#define POS_QRCODE_MODEL1 204
#define POS_QRCODE_MODEL2 205

#define POS_PDF417_COLUMN_AUTO 0
#define POS_PDF417_ROW_AUTO 0

#define POS_QRCODE_ECC_L 48
#define POS_QRCODE_ECC_M 49
#define POS_QRCODE_ECC_Q 50
#define POS_QRCODE_ECC_H 51

#define POS_PDF417_ECC_LEVEL_0 0
#define POS_PDF417_ECC_LEVEL_1 1
#define POS_PDF417_ECC_LEVEL_2 2
#define POS_PDF417_ECC_LEVEL_3 3
#define POS_PDF417_ECC_LEVEL_4 4
#define POS_PDF417_ECC_LEVEL_5 5
#define POS_PDF417_ECC_LEVEL_6 6
#define POS_PDF417_ECC_LEVEL_7 7
#define POS_PDF417_ECC_LEVEL_8 8

#define POS_GS1_DATABAR_OMNI 50
#define POS_GS1_DATABAR_TRUNCATED 51
#define POS_GS1_DATABAR_STACKED 52
#define POS_GS1_DATABAR_STACKED_OMNI 53
#define POS_GS1_DATABAR_UPC_A 56
#define POS_GS1_DATABAR_UPC_E 57
#define POS_GS1_DATABAR_EAN13 58
#define POS_GS1_DATABAR_EAN8 59
#define POS_GS1_DATABAR_EAN128_CC_A_B 60
#define POS_GS1_DATABAR_EAN128_CC_C 61

#define POS_COMPOSITE_EAN8 65
#define POS_COMPOSITE_EAN13 66
#define POS_COMPOSITE_UPC_A 67
#define POS_COMPOSITE_UPC_E 69
#define POS_COMPOSITE_GS1_DATABAR_OMNI 70
#define POS_COMPOSITE_GS1_DATABAR_TRUNCATED 71
#define POS_COMPOSITE_GS1_DATABAR_STACKED 72
#define POS_COMPOSITE_GS1_DATABAR_STACKED_OMNI 73
#define POS_COMPOSITE_GS1_DATABAR_LIMITED 74
#define POS_COMPOSITE_GS1_DATABAR_EXPANDED 75
#define POS_COMPOSITE_GS1_128 77

#define POS_COMPOSITE_CC_AUTOMATIC 65
#define POS_COMPOSITE_CC_C 66

#define POS_MAXICODE_MODE_2 50
#define POS_MAXICODE_MODE_3 51
#define POS_MAXICODE_MODE_4 52

#define POS_AZTEC_ECC_L 48
#define POS_AZTEC_ECC_M 49
#define POS_AZTEC_ECC_Q 50
#define POS_AZTEC_ECC_H 51

#define POS_AZTEC_MODE_DATA 0
#define POS_AZTEC_MODE_GS1 1
#define POS_AZTEC_MODE_UNICODE 2

#define POS_STATUS_BATT_HIGH 16
#define POS_STATUS_BATT_MID 32
//#define POS_STATUS_BATT_LOW 64
//#define POS_STATUS_FAIL -1

#define POS_DRAWER_PIN2 0
#define POS_DRAWER_PIN5 1

#define POS_STATS_MOTOR1 0
#define POS_STATS_TPH1 2
#define POS_STATS_CUT1 4

#define POS_SCR_MODE_APDU 0
#define POS_SCR_MODE_TPDU 1

#define POS_SCR_SMARTCARD 48
#define POS_SCR_SAM1 49
#define POS_SCR_SAM2 50

#define POS_ALIGNMENT_LEFT 0
#define POS_ALIGNMENT_CENTER 1
#define POS_ALIGNMENT_RIGHT 2

#define LABEL_CODEPAGE_KSC5601 949
#define LABEL_CODEPAGE_SHIFTJIS 932
#define LABEL_CODEPAGE_BIG5 950
#define LABEL_CODEPAGE_GB2312 936

#define LABEL_CODEPAGE_CP437 0
#define LABEL_CODEPAGE_CP850 1
#define LABEL_CODEPAGE_CP852 2
#define LABEL_CODEPAGE_CP860 3
#define LABEL_CODEPAGE_CP863 4
#define LABEL_CODEPAGE_CP865 5
#define LABEL_CODEPAGE_WPC1252 6
#define LABEL_CODEPAGE_CP865_WPC1252 7
#define LABEL_CODEPAGE_CP857 8
#define LABEL_CODEPAGE_CP737 9
#define LABEL_CODEPAGE_WPC1250 10
#define LABEL_CODEPAGE_WPC1253 11
#define LABEL_CODEPAGE_WPC1254 12
#define LABEL_CODEPAGE_CP855 13
#define LABEL_CODEPAGE_CP862 14
#define LABEL_CODEPAGE_CP866 15
#define LABEL_CODEPAGE_WPC1251 16
#define LABEL_CODEPAGE_WPC1255 17
#define LABEL_CODEPAGE_CP928 18
#define LABEL_CODEPAGE_CP864 19
#define LABEL_CODEPAGE_CP775 20
#define LABEL_CODEPAGE_WPC1257 21
#define LABEL_CODEPAGE_CP858 22

#define BCD_CODEPAGE_CP437 0
#define BCD_CODEPAGE_KATAKANA 1
#define BCD_CODEPAGE_CP850 2
#define BCD_CODEPAGE_CP860 3
#define BCD_CODEPAGE_CP863 4
#define BCD_CODEPAGE_CP865 5
#define BCD_CODEPAGE_WPC1250 14
#define BCD_CODEPAGE_WPC1251 15
#define BCD_CODEPAGE_WPC1252 16
#define BCD_CODEPAGE_CP866 17
#define BCD_CODEPAGE_CP852 18
#define BCD_CODEPAGE_CP858 19
#define BCD_CODEPAGE_FARSI 20
#define BCD_CODEPAGE_CP862 21
#define BCD_CODEPAGE_WPC1254 25
#define BCD_CODEPAGE_WPC1257 26
#define BCD_CODEPAGE_CP864 27
#define BCD_CODEPAGE_CP755 28
#define BCD_CODEPAGE_CP737 29
#define BCD_CODEPAGE_WPC1253 30
#define BCD_CODEPAGE_CP857 31
#define BCD_CODEPAGE_HEBREW_OLD 32
#define BCD_CODEPAGE_WPC1255 33
#define BCD_CODEPAGE_CP855 36
#define BCD_CODEPAGE_CP928 38
#define BCD_CODEPAGE_WPC1256 40
#define BCD_CODEPAGE_WPC1258 41
#define BCD_CODEPAGE_TCVN 49
#define BCD_CODEPAGE_TCVN_CAPTIAL 50
#define BCD_CODEPAGE_VISCII 51

#define LABEL_ICS_USA 0
#define LABEL_ICS_FRANCE 1
#define LABEL_ICS_GERMANY 2
#define LABEL_ICS_UK 3
#define LABEL_ICS_DENMARK_I 4
#define LABEL_ICS_SWEDEN 5
#define LABEL_ICS_ITALY 6
#define LABEL_ICS_SPAIN_I 7
#define LABEL_ICS_JAPAN 8
#define LABEL_ICS_NORWAY 9
#define LABEL_ICS_DENMARK_II 10
#define LABEL_ICS_SPAIN_II 11
#define LABEL_ICS_LATIN_AMERICA 12
#define LABEL_ICS_KOREA 13
#define LABEL_ICS_SLOVENIA_CROATIA 14
#define LABEL_ICS_CHINA 15

// Label Printer
//	Device Fonts
#define LABEL_DEVICE_FONT_6PT '0'//    9 X 15 (dots)                 
#define LABEL_DEVICE_FONT_8PT '1'//   12 X 20 (dots)                 
#define LABEL_DEVICE_FONT_10PT '2'//   16 X 25 (dots)                 
#define LABEL_DEVICE_FONT_12PT '3'//   19 X 30 (dots)                 
#define LABEL_DEVICE_FONT_15PT '4'//   24 X 38 (dots)                 
#define LABEL_DEVICE_FONT_20PT '5'//   32 X 40 (dots)                 
#define LABEL_DEVICE_FONT_30PT '6'//   48 X 76 (dots)                 
#define LABEL_DEVICE_FONT_14PT '7'//   22 X 34 (dots)                 
#define LABEL_DEVICE_FONT_18PT '8'//   28 X 44 (dots)                 
#define LABEL_DEVICE_FONT_24PT '9'//   37 X 58 (dots)                 
#define LABEL_DEVICE_FONT_KOREAN1 'a'//   16 X 16 (dots)  (ascii  9 X 15)
#define LABEL_DEVICE_FONT_KOREAN2 'b'//   24 X 24 (dots)  (ascii 12 X 24)
#define LABEL_DEVICE_FONT_KOREAN3 'c'//   20 X 20 (dots)  (ascii 12 X 20)
#define LABEL_DEVICE_FONT_KOREAN4 'd'//   26 X 26 (dots)  (ascii 16 X 30)
#define LABEL_DEVICE_FONT_KOREAN5 'e'//   20 X 26 (dots)  (ascii 16 X 30)
#define LABEL_DEVICE_FONT_KOREAN6 'f'//   38 X 38 (dots)  (ascii 22 X 34)
#define LABEL_DEVICE_FONT_GB2312 'm'//   24 X 24 (dots)  (ascii 12 X 24)
#define LABEL_DEVICE_FONT_BIG5 'n'//   24 X 24 (dots)  (ascii 12 X 24)
#define LABEL_DEVICE_FONT_SHIFT_JIS 'j'//   24 X 24 (dots)  (ascii 12 X 24)

// Vector Fonts
#define LABEL_VECTOR_FONT_ASCII 'U'
#define LABEL_VECTOR_FONT_KS5601 'K'
#define LABEL_VECTOR_FONT_BIG5 'B'
#define LABEL_VECTOR_FONT_GB2312 'G'
#define LABEL_VECTOR_FONT_SHIFT_JIS 'J'
#define LABEL_VECTOR_FONT_OCR_A 'a'
#define LABEL_VECTOR_FONT_OCR_B 'b'

// Text Align
#define LABEL_ALIGNMENT_LEFT 0
#define LABEL_ALIGNMENT_RIGHT 1
#define LABEL_ALIGNMENT_CENTER 2

// Rotation
#define LABEL_ROTATION_0 0
#define LABEL_ROTATION_90 1
#define LABEL_ROTATION_180 2
#define LABEL_ROTATION_270 3

// 1D Barcode
#define LABEL_BARCODE_CODE39 0
#define LABEL_BARCODE_CODE128 1
#define LABEL_BARCODE_I2OF5 2
#define LABEL_BARCODE_CODABAR 3
#define LABEL_BARCODE_CODE93 4
#define LABEL_BARCODE_UPC_A 5
#define LABEL_BARCODE_UPC_E 6
#define LABEL_BARCODE_EAN13 7
#define LABEL_BARCODE_EAN8 8
#define LABEL_BARCODE_UCC_EAN128 9
#define LABEL_BARCODE_CODE11 10
#define LABEL_BARCODE_PLANET 11
#define LABEL_BARCODE_INDUSTRIAL_2OF5 12
#define LABEL_BARCODE_STANDARD_2OF5 13
#define LABEL_BARCODE_LOGMARS 14
#define LABEL_BARCODE_UPC_EAN_EXT 15
#define LABEL_BARCODE_POSTNET 16

// Label Hri
#define LABEL_BARCODE_TEXT_HRI_NONE 0
#define LABEL_BARCODE_TEXT_BELOW_1 1
#define LABEL_BARCODE_TEXT_ABOVE_1 2
#define LABEL_BARCODE_TEXT_BELOW_2 3
#define LABEL_BARCODE_TEXT_ABOVE_2 4
#define LABEL_BARCODE_TEXT_BELOW_3 5
#define LABEL_BARCODE_TEXT_ABOVE_3 6
#define LABEL_BARCODE_TEXT_BELOW_4 7
#define LABEL_BARCODE_TEXT_ABOVE_4 8

// Maxicode Mode
#define LABEL_MAXICODE_MODE_0 0
#define LABEL_MAXICODE_MODE_2 2
#define LABEL_MAXICODE_MODE_3 3
#define LABEL_MAXICODE_MODE_4 4

// PDF417 Origin point
#define LABEL_PDF417_ORIGIN_POINT_CENTER 0
#define LABEL_PDF417_ORIGIN_POINT_UPPER_LEFT 1

// PDF417 Error correction level
#define LABEL_PDF417_ECC_0 0
#define LABEL_PDF417_ECC_1 1
#define LABEL_PDF417_ECC_2 2
#define LABEL_PDF417_ECC_3 3
#define LABEL_PDF417_ECC_4 4
#define LABEL_PDF417_ECC_5 5
#define LABEL_PDF417_ECC_6 6
#define LABEL_PDF417_ECC_7 7
#define LABEL_PDF417_ECC_8 8

// PDF417 Compression
#define LABEL_PDF417_DATA_COMPRESSION_TEXT 0
#define LABEL_PDF417_DATA_COMPRESSION_NUMERIC 1
#define LABEL_PDF417_DATA_COMPRESSION_BINARY 2

// QR Code mode
#define LABEL_QRCODE_MODEL_1 1
#define LABEL_QRCODE_MODEL_2 2

// QR Code ECC Level
#define LABEL_QRCODE_ECC_L 'L'
#define LABEL_QRCODE_ECC_M 'M'
#define LABEL_QRCODE_ECC_Q 'Q'
#define LABEL_QRCODE_ECC_H 'H'


// Code49 Starting mode
#define LABEL_REGULAR_ALPHANUM 0
#define LABEL_MULTIPLE_READ_ALPHANUM 1
#define LABEL_REGULAR_NUMERIC 2
#define LABEL_GROUP_ALPHANUM 3
#define LABEL_REGULAR_ALPHANUM_SHIFT1 4
#define LABEL_REGULAR_ALPHANUM_SHIFT2 5
#define LABEL_AUTOMATIC 7

// CODEBLOCK MODE
#define LABEL_CODABLOCK_MODE_A 'A'
#define LABEL_CODABLOCK_MODE_E 'E'
#define LABEL_CODABLOCK_MODE_F 'F'

// MSI Check digit
#define LABEL_CHECKDIGIT_NONE 0
#define LABEL_CHECKDIGIT_1MOD10 1
#define LABEL_CHECKDIGIT_2MOD10 2
#define LABEL_CHECKDIGIT_1MOD11_AND_1MOD_10 3

// RSS Barcode type
#define LABEL_RSS14 0
#define LABEL_RSS14_TRUNCATED 1
#define LABEL_RSS14_STACKED 2
#define LABEL_RSS14_STACKED_OMNI 3
#define LABEL_RSS_LIMITED 4
#define LABEL_RSS_EXPANDED 5
#define LABEL_RSS_UPC_A 6
#define LABEL_RSS_UPC_E 7
#define LABEL_RSS_EAN13 8
#define LABEL_RSS_EAN8 9
#define LABEL_RSS_UCC_EAN128_CC_A_B 10
#define LABEL_RSS_UCC_EAN128_CC_C 11

// Draw Block Option
#define LABEL_LINE_OVERWRITING _T("O")
#define LABEL_LINE_EXCLUSIVE_OR _T("E")
#define LABEL_LINE_DELETE _T("D")
#define LABEL_SLOPE _T("S")
#define LABEL_BOX _T("B")

// Draw Circle Size Options
#define LABEL_CIRCLE_40X40 1
#define LABEL_CIRCLE_56X56 2
#define LABEL_CIRCLE_72X72 3
#define LABEL_CIRCLE_88X88 4
#define LABEL_CIRCLE_104X104 5
#define LABEL_CIRCLE_168X168 6

// Label Compress Type
#define LABEL_IMAGE_NONE 0
#define LABEL_IMAGE_RLE 1
#define LABEL_IMAGE_LZMA 2

// Label Printer Status
#define LABEL_STATUS_IDLE 0
#define LABEL_STATUS_PAPEREMPTY 1
#define LABEL_STATUS_COVEROPEN 2
#define LABEL_STATUS_CUTTER_JAMMED 4
#define LABEL_STATUS_TPH_OVERHEAT 8
#define LABEL_STATUS_GAP_ERROR 16
#define LABEL_STATUS_RIBBON_END 32
#define LABEL_STATUS_ON_BUILDING_LABEL 64
#define LABEL_STATUS_ISSUED_LABEL_PAUSED 256
#define LABEL_STATUS_BOARD_OVERHEAT 512
#define LABEL_STATUS_MOTOR_OVERHEAT 1024
#define LABEL_STATUS_WAIT_LABEL_TAKEN 2048
#define LABEL_STATUS_RFID_WRITING_ERROR 4096
#define LABEL_STATUS_FAIL -1

// Label dithering Type
#define LABEL_DITHER_NONE 0
#define LABEL_DITHER1 1

// Label Media Type
#define LABEL_MEDIA_TYPE_GAP _T("G")
#define LABEL_MEDIA_TYPE_BLACK_MARK _T("B")
#define LABEL_MEDIA_TYPE_CONTINUOUS _T("C")

#define LABEL_PRINTING_TYPE_DIRECT_THERMAL 'd'
#define LABEL_PRINTING_TYPE_THERMAL_TRANSFER 't'

// setOrientation Parameters
#define LABEL_ORIENTAION_TOP 'T'
#define LABEL_ORIENTAION_BOTTOM 'B'

// setupRFID Parameters
#define LABEL_RFID_NONE 0
#define LABEL_RFID_ISO_TYPE_A 1
#define LABEL_RFID_ISO_TYPE_B 2
#define LABEL_RFID_EPC_0 3
#define LABEL_RFID_EPC_1 4
#define LABEL_RFID_EPC_GEN2 5

// writeRFID Parameters
#define LABEL_RFID_ASCII 0
#define LABEL_RFID_HEX 1
#define LABEL_RFID_EPC 2
#define LABEL_RFID_HEX_USER 3

// getStatisticsData Parameters
#define LABEL_STATS_MOTOR1 0
#define LABEL_STATS_MOTOR2 1
#define LABEL_STATS_TPH1 2
#define LABEL_STATS_TPH2 3
#define LABEL_STATS_CUT1 4
#define LABEL_STATS_CUT2 5

#endif