Chapter 3 Software
PA-6222 SERIES USER
S MANUAL
Page:77
3-3-6.
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
if (data)
MsgBox(“open1”); // Cash Drawer1 status “Open”
Else
MsgBox(“close1”); // Cash Drawer1 status “Close”
Endif
Summary of Contents for PA-6222
Page 124: ...Chapter 3 Software PA 6222 SERIES USER S MANUAL Page 120...
Page 142: ...Chapter 4 System Assembly PA 6222 SERIES USER S MANUAL Page 139 EXPLODED DIAGRAM FOR STORAGE...
Page 144: ...Chapter 4 System Assembly PA 6222 SERIES USER S MANUAL Page 141...
Page 145: ...Chapter 4 System Assembly PA 6222 SERIES USER S MANUAL Page 142...
Page 147: ...Chapter 4 System Assembly PA 6222 SERIES USER S MANUAL Page 144...
Page 149: ...Chapter 4 System Assembly PA 6222 SERIES USER S MANUAL Page 146...
Page 150: ...Chapter 4 System Assembly PA 6222 SERIES USER S MANUAL Page 147 EXPLODED DIAGRAM FOR MSR...
Page 151: ...Chapter 4 System Assembly PA 6222 SERIES USER S MANUAL Page 148...
Page 153: ...Chapter 4 System Assembly PA 6222 SERIES USER S MANUAL Page 150 EXPLODED DIAGRAM FOR STAND...
Page 154: ...Chapter 4 System Assembly PA 6222 SERIES USER S MANUAL Page 151...
Page 156: ...Chapter 4 System Assembly PA 6222 SERIES USER S MANUAL Page 153...
Page 159: ...Chapter 4 System Assembly PA 6222 SERIES USER S MANUAL Page 156...