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