4. JavaPOS Interface Specifications (Drawer).................................................................... 123
4.1. List................................................................................................................................123
4.2. Common Properties ......................................................................................................126
CapCompareFirmwareVersion Property...................................................................... 126
CapPowerReporting Property...................................................................................... 126
CapStatisticsReporting Property.................................................................................. 127
CapUpdateFirmware Property ..................................................................................... 127
CapUpdateStatistics Property ...................................................................................... 127
CheckHealthText Property........................................................................................... 128
Claimed Property......................................................................................................... 128
DeviceControlDescription Property............................................................................. 128
DeviceControlVersion Property................................................................................... 129
PhysicalDeviceDescription Property ........................................................................... 129
DeviceEnabled Property R/W...................................................................................... 130
PhysicalDeviceName Property .................................................................................... 130
FreezeEvents Property R/W......................................................................................... 131
PowerNotify Property R/W.......................................................................................... 131
PowerState Property..................................................................................................... 132
DeviceServiceDescription Property............................................................................. 132
DeviceServiceVersion Property ................................................................................... 132
State Property............................................................................................................... 133
4.3. Common Methods.........................................................................................................134
checkHealth Method.................................................................................................... 134
claim Method............................................................................................................... 136
close Method................................................................................................................ 136
compareFirmwareVersion Method............................................................................... 137
directIO Method........................................................................................................... 137
open Method ................................................................................................................ 138
release Method............................................................................................................. 138
resetStatistics Method.................................................................................................. 139
retrieveStatistics Method.............................................................................................. 139
updateFirmwareMethod............................................................................................... 139
updateStatistics Method............................................................................................... 140
4.4. Specific Properties........................................................................................................141
CapStatus Property....................................................................................................... 141
CapStatusMultiDrawerDetect Property ....................................................................... 141
DrawerOpened Property .............................................................................................. 142
4.5. Specific Methods ..........................................................................................................143
openDrawer Method .................................................................................................... 143
waitForDrawerClose Method....................................................................................... 143
4.6. Event.............................................................................................................................144
DirectIOEvent Event.................................................................................................... 144
StatusUpdateEvent Event............................................................................................. 144
5. Xml file Configuration.................................................................................................... 145
5.1. The explanation of XML items (POS Printer)..............................................................145
5.2. The explanation of XML items (Drawer) .....................................................................149