Chapter 3 Software
PA-3122 SERIES USER
′
S MANUAL
Page:3-44
3-3-2. API Procedure
Take
VB2005 .NET
for example.
1.
First you must declare a function. You may create a module in your project and
fill in the function.
Example: Cash drawer
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.
Then create a button to call API Function.
a.)
Call Cash drawer open event:
Private Sub cash_btn1_Click (ByVal Sender As System.Object, ByVal e As
System.EventArgs) Handles cash_btn1.Click
CashDrawerOpen(1), “1” specifies the cash drawer 1 port
CashDrawerOpen(2), “2” specifies the cash drawer 2 port
Timer1.start
b.)
Detect Cash drawer status:
A timer event can be created.
Private Sub Timer1_Tick (ByVal Sender As System.Object,ByVal e As
System.EventArgs) Handles Timer1.Tick
Dim Receive_Status1 as Boolean
Dim Receive_Status2 as Boolean
Receive_Status1 = CashDrawerOpen(&H1)
If Receive_Status1 = true then
Text1.text = “cash drawer1 open” ‘enter text into textbox.
Else
Содержание PA-3122
Страница 1: ...USER S MANUAL PA 3122 10 4 POS Terminal Powered by Intel Celeron J1900 Quad Core PA 3122 M1...
Страница 21: ...Chapter 2 System Configuration PA 3122 SERIES USER S MANUAL Page 2 10 Jumper diagrams Jumper settings...
Страница 101: ...Chapter 3 Software PA 3122 SERIES USER S MANUAL Page 3 42 e Example 3 PROMAG MSR PART NO HID mode...
Страница 165: ...Chapter 3 Software PA 3122 SERIES USER S MANUAL Page 3 106...
Страница 187: ...Chapter 4 System Assembly PA 3122 SERIES USER S MANUAL Page 4 4 With i Button 05 07 08 09 10 06 02 01 03 04...
Страница 189: ...Chapter 4 System Assembly PA 3122 SERIES USER S MANUAL Page 4 6...
Страница 190: ...Chapter 4 System Assembly PA 3122 SERIES USER S MANUAL Page 4 7 With MSR 05 07 08 06 02 01 03 04...
Страница 191: ...Chapter 4 System Assembly PA 3122 SERIES USER S MANUAL Page 4 8 With MSR 01 Without MSR 02...
Страница 193: ...Chapter 4 System Assembly PA 3122 SERIES USER S MANUAL Page 4 10...
Страница 194: ...Chapter 4 System Assembly PA 3122 SERIES USER S MANUAL Page 4 11 05 07 08 06 02 01 03 04 12 09 11 13 10 Back side...
Страница 195: ...Chapter 4 System Assembly PA 3122 SERIES USER S MANUAL Page 4 12...
Страница 198: ...Chapter 4 System Assembly PA 3122 SERIES USER S MANUAL Page 4 15 02 01 Push...
Страница 199: ...Chapter 4 System Assembly PA 3122 SERIES USER S MANUAL Page 4 16 Heatsink 05 02 01 03 04...
Страница 200: ...Chapter 4 System Assembly PA 3122 SERIES USER S MANUAL Page 4 17 Mainboard 02 05 07 08 06 01 03 04...
Страница 201: ...Chapter 4 System Assembly PA 3122 SERIES USER S MANUAL Page 4 18...
Страница 203: ...Chapter 4 System Assembly PA 3122 SERIES USER S MANUAL Page 4 20...
Страница 204: ...Chapter 4 System Assembly PA 3122 SERIES USER S MANUAL Page 4 21 3 Inch Printer Cover 05 07 08 06 02 01 03 04 09 10...
Страница 205: ...Chapter 4 System Assembly PA 3122 SERIES USER S MANUAL Page 4 22 2 Inch Printer 05 07 08 06 02 01 03 04 09 11 10...
Страница 206: ...Chapter 4 System Assembly PA 3122 SERIES USER S MANUAL Page 4 23 2 Inch Printer Cover 05 07 08 06 02 01 03 04 09 10...
Страница 207: ...Chapter 4 System Assembly PA 3122 SERIES USER S MANUAL Page 4 24 With Paper Holder 02 01 Without Paper Holder 03...
Страница 208: ...Chapter 4 System Assembly PA 3122 SERIES USER S MANUAL Page 4 25 EXPLODED DIAGRAM FOR MSR 02 01 03 04...
Страница 209: ...Chapter 4 System Assembly PA 3122 SERIES USER S MANUAL Page 4 26 EXPLODED DIAGRAM FOR VFD VFD Module 05 02 01 03 04...
Страница 210: ...Chapter 4 System Assembly PA 3122 SERIES USER S MANUAL Page 4 27 Without VFD Module 01...