![protech PA-6222 User Manual Download Page 77](http://html1.mh-extra.com/html/protech/pa-6222/pa-6222_user-manual_1619632077.webp)
Chapter 3 Software
PA-6222 SERIES USER
S MANUAL
Page:73
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-6222
Page 124: ...Chapter 3 Software PA 6222 SERIES USER S MANUAL Page 120...
Page 142: ...Chapter 4 System Assembly PA 6222 SERIES USER S MANUAL Page 139 EXPLODED DIAGRAM FOR STORAGE...
Page 144: ...Chapter 4 System Assembly PA 6222 SERIES USER S MANUAL Page 141...
Page 145: ...Chapter 4 System Assembly PA 6222 SERIES USER S MANUAL Page 142...
Page 147: ...Chapter 4 System Assembly PA 6222 SERIES USER S MANUAL Page 144...
Page 149: ...Chapter 4 System Assembly PA 6222 SERIES USER S MANUAL Page 146...
Page 150: ...Chapter 4 System Assembly PA 6222 SERIES USER S MANUAL Page 147 EXPLODED DIAGRAM FOR MSR...
Page 151: ...Chapter 4 System Assembly PA 6222 SERIES USER S MANUAL Page 148...
Page 153: ...Chapter 4 System Assembly PA 6222 SERIES USER S MANUAL Page 150 EXPLODED DIAGRAM FOR STAND...
Page 154: ...Chapter 4 System Assembly PA 6222 SERIES USER S MANUAL Page 151...
Page 156: ...Chapter 4 System Assembly PA 6222 SERIES USER S MANUAL Page 153...
Page 159: ...Chapter 4 System Assembly PA 6222 SERIES USER S MANUAL Page 156...