Chapter 4 Software Utilities
PA-3211 SERIES USER MANUAL
Page: 4-52
4.2.3
API Reference
4.2.3.1
Cash Drawer API
OpenCashDrawer
Public Boolean OpenCashDrawer(int num);
Purpose
Open the cash drawer API.
Value
Return
Put Drawer number to Function,
True (1) on success, False (0) on failure
Example
boolean
ControlResult =
false
;
ControlResult =
CDrawer
.OpenCashDrawer(1);
if
(ControlResult)
//
"Cash Drawer Control Success!"
else
//
"Cash Drawer Control Failure!"
GetCashDrawerStatus
Public Boolean GetCashDrawerStatus (int num);
Purpose
Value
Return
Example
Get the cash drawer status.
Put Drawer number to Function, th
e
n get CashdrawerStatus
back.
True (1) on success, False (0) on failure False (0)
boolean
ControlResult =
false
;
CashDrawerCDrawer =
new
CashDrawer();
ControlResult = CDrawer.GetCashDrawerStatus(1);
if
(ControlResult)
//
"Cash Drawer Status Open !"
else
//
"Cash Drawer Status Close !"
Содержание PA-3211
Страница 1: ...USER MANUAL PA 3211 10 1 POS Terminal Powered by ARM Cortex A 9 Processor PA 3211 M1...
Страница 15: ...Chapter 2 Getting Started PA 3211 SERIES USER MANUAL Page 2 4 2 2 3 Top View...
Страница 16: ...Chapter 2 Getting Started PA 3211 SERIES USER MANUAL Page 2 5 2 2 4 Bottom View 2 2 5 Quarter View...
Страница 17: ...Chapter 2 Getting Started PA 3211 SERIES USER MANUAL Page 2 6 2 2 6 Side View Unit mm 147 75...
Страница 19: ...Chapter 2 Getting Started PA 3211 SERIES USER MANUAL Page 2 8 2 3 3 Top View...
Страница 20: ...Chapter 2 Getting Started PA 3211 SERIES USER MANUAL Page 2 9 2 3 4 Bottom View 2 3 5 Quarter View...
Страница 21: ...Chapter 2 Getting Started PA 3211 SERIES USER MANUAL Page 2 10 2 3 6 Side View 147 75...
Страница 32: ...Chapter 3 Hardware Configuration PA 3211 SERIES USER MANUAL Page 3 8 Jumper diagrams Jumper settings...
Страница 144: ...Chapter 4 Software Utilities PA 3211 SERIES USER MANUAL Page 4 75 Step 3 Click Next to start the installation...
Страница 155: ...Chapter 4 Software Utilities PA 3211 SERIES USER MANUAL Page 4 86...