Api Function - Protech Systems PA-3222 User Manual

10.1 inch pos terminal powered by intel celeron j1900 quad-core
Hide thumbs Also See for PA-3222:
Table of Contents

Advertisement

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
Cash Drawer
Watchdog
(WD)
Hardware
Monitor
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:
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
PA-3222 SERIES USER MANUAL
CashDrawerOpen
GetCashDrawerStatus
Watchodog_Set
Watchodog_Stop
Watchdog_SetMinSec
Watchdog_Recount
HMWVoltage_Get
HMWTemperataure_Get
HMWFanSpeed_Get
CashDrawerOpen(0x01);
Chapter 4 Software Utilities
DLL
multilangXML.dll
// Open the Cash Drawer1
CashDrawer.dll
WatchDog.dll
Hardware
Monitor.dll
Page: 4-95

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents