Chapter 4 Software Utilities
PA-3222 SERIES USER MANUAL
Page: 4-91
Sample Code
(1)
VB Declaration Method
Declare Function GetCashDrawerStatus Lib CashDrawer.dll (ByVal
num_drawer as short) As Boolean
Declare Function CashDrawerOpen Lib CashDrawer.dll (ByVal num_drawer as
short) As Boolean
(2)
Call Function
Open cash drawer:
CashDrawerOpen(1)
Open cash drawer1
CashDrawerOpen(2)
Open cash drawer2
Check cash drawer status:
Dim receive_status as Boolean
Check cash drawer1 status
Receive_Status = CashDrawerOpen(&H1)
Check cash drawer2 status
Receive_Status = CashDrawerOpen(&H2)
(1)
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);}
(2)
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);
Содержание PA-3222
Страница 1: ...USER MANUAL PA 3222 10 1 POS Terminal Powered by Intel Celeron J1900 Quad Core PA 3222 M1...
Страница 11: ...viii Configuring WatchDog Timer B 10 Flash BIOS Update B 13...
Страница 24: ...Chapter 2 Getting Started PA 3222 SERIES USER MANUAL Page 2 10 2 3 6 Side View 147 75...
Страница 26: ...Chapter 2 Getting Started PA 3222 SERIES USER MANUAL Page 2 12 2 4 3 Top View...
Страница 37: ...Chapter 3 Hardware Configuration PA 3222 SERIES USER MANUAL Page 3 7 Jumper diagrams Jumper settings...
Страница 163: ...Chapter 4 Software Utilities PA 3222 SERIES USER MANUAL Page 4 78...
Страница 173: ...Chapter 4 Software Utilities PA 3222 SERIES USER MANUAL Page 4 88 e Example 3 PROMAG MSR PART NO HID mode...
Страница 221: ...Appendix A System Diagrams PA 3222 SERIES USER MANUAL Page A 4...
Страница 227: ...Appendix A System Diagrams PA 3222 SERIES USER MANUAL Page A 10 Exploded Diagram For Fingerprint Module 150 149 147 148...
Страница 232: ...Appendix A System Diagrams PA 3222 SERIES USER MANUAL Page A 15 With Paper Holder Without Paper Holder 03...
Страница 247: ...Appendix B Technical Summary PA 3222 SERIES USER MANUAL Page B 14...