Rev. A
Application Development Information for OPOS
5-5
TM-H6000II Technical Reference Guide
5.2.2 Sample Program
Below is as example of how to use Slip & MICR Combination with OPOS ADK Ver.2.20 SP3.
Dim RC As Long
‘Return Code
Dim I = 1 as Integer
OPOSPOSPrinter1.AsyncMode = False
‘Paper preparation procedure
Do
RC = OPOSMICR1.BeginImsertion(3000)
If RC = OPOS_SUCCESS Then
Exit Do
Else If RC = OPOS_E_TIMEOUT Then
MsgBox “Please insert a check.”
Else
MsgBox “insert error.”
Exit Do
End If
Loop
OPOSMICR1.EndInsertion
With OPOSPOSPrinter1
‘Endorsement Printing
.PrinterNormal PTR_S_SLIP, Chr(&H1B) & “Endorsement Printing” & vbLf
‘Change of the printing side
.ChangePrintSide PTR_PS_SODE1
.PrinterNormal PTR_S_SLIP, Chr(&H1B) & “Slip Printing” & vbLf
End With
RC = OPOSMICR1.BeginRemoval(3000)
If RC = OPOS_E_TIMEOUT Then
MsgBox “Please insert a check.”
Else If RC <> OPOS_SUCCESS Then
MsgBox “remove error.”
Exit Sub
End If
Do While OPOSPOSPrinter1.EndRemoval <> OPOS_SUCCESS
MsgBox “Please remove a check.”
I = I + 1
If I = 5 Then Exit Do
Loop
Summary of Contents for TM-H6000II
Page 1: ...TM H6000II Technical Reference guide EPSON English 404367000 ...
Page 2: ......
Page 6: ...iv Rev A ...
Page 44: ...1 30 General Information Rev A ...
Page 96: ...4 10 Maintenance Troubleshooting Rev A ...
Page 108: ...A 2 Character Code Tables A 2 Page 1 Katakana ...
Page 109: ...Character Code Tables A 3 TM H6000II Technical Reference Guide A 3 Page 2 PC850 Multilingual ...
Page 110: ...A 4 Character Code Tables A 4 Page 3 PC860 Portuguese ...
Page 112: ...A 6 Character Code Tables A 6 Page 5 PC865 Nordic ...
Page 113: ...Character Code Tables A 7 TM H6000II Technical Reference Guide A 7 Page 16 WPC1252 ...
Page 114: ...A 8 Character Code Tables A 8 Page 17 PC866 Cyrillic2 ...
Page 115: ...Character Code Tables A 9 TM H6000II Technical Reference Guide A 9 Page 18 PC852 Latin2 ...
Page 116: ...A 10 Character Code Tables A 10 Page 19 PC858 Euro ...
Page 117: ...Character Code Tables A 11 TM H6000II Technical Reference Guide A 11 Page 254 Space Page ...
Page 118: ...A 12 Character Code Tables A 12 Page 255 Space Page ...
Page 120: ...A 14 Character Code Tables ...
Page 121: ......
Page 122: ...EPSON SEIKO EPSON CORPORATION Printed in Japan ...