Chapter 3 Software
PA-8225 SERIES USER
’
S MANUAL
Page: 3-88
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
Summary of Contents for PA-8225
Page 1: ...USER S MANUAL PA 8225 10 4 POS Terminal Powered by Intel Celeron J1900 Quad Core PA 8225 M1...
Page 203: ...Chapter 3 Software PA 8225 SERIES USER S MANUAL Page 3 140...
Page 236: ...Chapter 4 System Assembly PA 8225 SERIES USER S MANUAL Page 4 17 1 3 500 0828031 8...
Page 237: ...Chapter 4 System Assembly PA 8225 SERIES USER S MANUAL Page 4 18 N A 21 002 1 9090005 P B 6822...
Page 240: ...Chapter 4 System Assembly PA 8225 SERIES USER S MANUAL Page 4 21...
Page 242: ...Chapter 4 System Assembly PA 8225 SERIES USER S MANUAL Page 4 23...
Page 243: ...Chapter 4 System Assembly PA 8225 SERIES USER S MANUAL Page 4 24...
Page 246: ...Chapter 4 System Assembly PA 8225 SERIES USER S MANUAL Page 4 27...