Api Function; Cash Drawer Function - Protech Systems PA-6322 User Manual

15" pos terminal powered by intel celeron j1900 quad-core
Hide thumbs Also See for PA-6322:
Table of Contents

Advertisement

3.4

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
3.4.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;
PA-6322 SERIES USER MANUAL
CashDrawerOpen
GetCashDrawerStatus
Watchodog_Set
Watchodog_Stop
Watchdog_SetMinSec
Watchdog_Recount
HMWVoltage_Get
HMWTemperataure_Get
HMWFanSpeed_Get
CashDrawerOpen(0x01);
Chapter 3 Software
DLL
multilangXML.dll
// Open the Cash Drawer1
CashDrawer.dll
WatchDog.dll
Hardware
Monitor.dll
Page: 3-98

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents