EPSON OPOS ADK Sample Program

Device:   Cash Drawer


Step 1 Open cash drawer.

Open the cash drawer, and beep until the drawer is closed.
New Method Open, ClaimDevice, ReleaseDevice, Close, OpenDrawer, WaitForDrawerClose
New Property DeviceEnabled

Step 2 Check the status of the cash drawer.

Monitor the drawer status(open/close/power on/power off).
New Method Open, ClaimDevice, ReleaseDevice, Close, OpenDrawer, WaitForDrawerClose
New Property CapStatus, DrawerOpened, PowerNotify, PowerState

Step 3 Adding error handlers.

Adding error handlers to Step 2.
New Method
New Property ResultCode

Step 4 Obtains the statistics of the device.

Obtains the statistics of the device. (UPOS 1.8)
New Method RetrieveStatistics
New Property CapStatisticsReporting