EasyManuals Logo

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 #155 background imageLoading...
Page #155 background image
Chapter 3 Software
PA-6225 SERIES USER MANUAL
Page 148
2. C# Declaration Method
Public class PortAccess
{
[DllImport(“CashDrawer.dll”,EntryPoint = “Initial_CashDrawer”)]
Public static extern void Initial_CashDrawer();
[DllImport(“CashDrawer.dll”,EntryPoint= “GetCashDrawerStatus”)]
Public static extern bool GetCashDrawerStatus()
[DllImport(“CashDrawer.dll”,EntryPoint = “CashDrawerOpen”)]
Public static extern bool CashDrawerOpen(short num_drawer);}
Call Function
Open cash drawer1
PortAccess.CashDrawerOpen(0x01); //check cash drawer1 status
Open cash drawer2
PortAccess.CashDrawerOpen(0x02); //check cash drawer2 status
Bool bstatus;
bstatus = PortAccess.GetCashDrawerStatus(0x01);
bstatus = PortAccess.GetCashDrawerStatus(0x02); //Before get cash drawer status,
need to initial cash drawer first

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