EasyManuals Logo
Home>protech>Touch terminals>PA-6225

protech PA-6225 User Manual

protech PA-6225
283 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #159 background imageLoading...
Page #159 background image
Chapter 3 Software
PA-6225 SERIES USER MANUAL
Page 152
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

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the protech PA-6225 and is the answer not in the manual?

protech PA-6225 Specifications

General IconGeneral
Brandprotech
ModelPA-6225
CategoryTouch terminals
LanguageEnglish