Chapter 4 Software Utilities
PA-3222 SERIES USER MANUAL
Page: 4-95
4.11 API Function
The API program-related sample programs, developed in VB.Net and C#, are
provided for easy use of the API Package. Refer to the main API functions listed as
below:
API Function
DLL
Cash Drawer
CashDrawerOpen
GetCashDrawerStatus
multilangXML.dll
CashDrawer.dll
Watchdog
(WD)
Watchodog_Set
Watchodog_Stop
Watchdog_SetMinSec
Watchdog_Recount
WatchDog.dll
Hardware
Monitor
HMWVoltage_Get
HMWTemperataure_Get
HMWFanSpeed_Get
Hardware
Monitor.dll
4.11.1 Cash Drawer Function
CashDrawerOpen
bool CashDrawerOpen (short num_drawer);
Purpose:
Open the cash drawer API.
Value:
num_drawer = 1 (Open the Cash Drawer1)
num_drawer = 2 (Open the Cash Drawer2)
Return:
True (1) on success, False (0) on failure
Example:
CashDrawerOpen(0x01);
// Open the Cash Drawer1
GetCashDrawerStatus
bool GetCashDrawerStatus (short num_drawer);
Purpose:
Get the cash drawer status.
Value:
num_drawer = 1 (Get the Cash Drawer1 status)
num_drawer = 2 (Get the Cash Drawer2 status)
Return:
True (1) on success, False (0) on failure
Example:
Short data;
data= GetCashDrawerStatus(0x01); // Get the Cash Drawer1 status
Summary of Contents for PA-3222
Page 1: ...USER MANUAL PA 3222 10 1 POS Terminal Powered by Intel Celeron J1900 Quad Core PA 3222 M1...
Page 11: ...viii Configuring WatchDog Timer B 10 Flash BIOS Update B 13...
Page 24: ...Chapter 2 Getting Started PA 3222 SERIES USER MANUAL Page 2 10 2 3 6 Side View 147 75...
Page 26: ...Chapter 2 Getting Started PA 3222 SERIES USER MANUAL Page 2 12 2 4 3 Top View...
Page 163: ...Chapter 4 Software Utilities PA 3222 SERIES USER MANUAL Page 4 78...
Page 221: ...Appendix A System Diagrams PA 3222 SERIES USER MANUAL Page A 4...
Page 247: ...Appendix B Technical Summary PA 3222 SERIES USER MANUAL Page B 14...