Epson TM-H6000IV-DT Technical Reference Guide - Page 159

Control Method for Devices, ESC/POS comma, e 160

Page 159 highlights

Chapter 5 Application Development Control Method for Devices The followings are methods for controlling devices. • ESC/POS command: This can control the EPSON TM printer, cash drawer, and customer display. (For details, refer to "ESC/POS command" on page 160.) • APD4 (Windows printer driver): This driver can control TM printers controlled by TM-H6000IV-DT, cash drawers, and customer displays. The Status API (Epson original DLL) that monitors printer status and sends ESC/POS commands is also attached to this driver. • OPOS ADK: This OCX driver can control POS peripherals using OLE technology*1. Because controlling POS peripherals with original commands is not required on the application side, efficient system development is possible. • OPOS ADK for .NET: OPOS ADK for .NET allows you to develop applications that are compatible with Microsoft POS for .NET. When developing applications, use a separate development environment such as Microsoft Visual Studio .NET. *1: OLE technology developed by Microsoft divides software into part blocks. The OPOS driver is presupposed to be used with a development environment such as Visual Basic, unlike ordinary Windows drivers. It is not a driver to be used for printing from commercial applications. 5 159

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144
  • 145
  • 146
  • 147
  • 148
  • 149
  • 150
  • 151
  • 152
  • 153
  • 154
  • 155
  • 156
  • 157
  • 158
  • 159
  • 160
  • 161
  • 162
  • 163
  • 164
  • 165
  • 166
  • 167
  • 168
  • 169
  • 170
  • 171
  • 172
  • 173
  • 174
  • 175
  • 176
  • 177
  • 178
  • 179
  • 180
  • 181
  • 182
  • 183
  • 184
  • 185
  • 186
  • 187
  • 188
  • 189
  • 190
  • 191
  • 192
  • 193
  • 194
  • 195
  • 196
  • 197
  • 198
  • 199
  • 200
  • 201
  • 202
  • 203
  • 204
  • 205
  • 206
  • 207
  • 208
  • 209
  • 210
  • 211
  • 212
  • 213
  • 214
  • 215
  • 216
  • 217
  • 218
  • 219
  • 220

Chapter 5
Application Development
159
5
Control Method for Devices
The follow
ing
s are me
t
hods for co
nt
roll
ing
dev
i
ces.
ESC/POS comma
n
d:
Th
i
s ca
n
co
nt
rol
t
he EPSON TM pr
int
er, cash drawer, a
n
d c
u
s
t
omer d
i
splay. (For
de
t
a
i
ls, refer
t
o
"ESC/POS comma
n
d" o
n
pa
g
e 160
.)
APD4 (W
in
dows pr
int
er dr
i
ver):
Th
i
s dr
i
ver ca
n
co
nt
rol TM pr
int
ers co
nt
rolled by TM-H6000IV-DT, cash
drawers, a
n
d c
u
s
t
omer d
i
splays.
The S
t
a
tu
s API (Epso
n
or
igin
al DLL)
t
ha
t
mo
nit
ors pr
int
er s
t
a
tu
s a
n
d se
n
ds
ESC/POS comma
n
ds
i
s also a
tt
ached
t
o
t
h
i
s dr
i
ver.
OPOS ADK:
Th
i
s OCX dr
i
ver ca
n
co
nt
rol POS per
i
pherals
u
s
ing
OLE
t
ech
n
olo
g
y*1. Beca
u
se
co
nt
roll
ing
POS per
i
pherals w
it
h or
igin
al comma
n
ds
i
s
n
o
t
req
ui
red o
n
t
he
appl
i
ca
ti
o
n
s
i
de, eff
i
c
i
e
nt
sys
t
em developme
nt
i
s poss
i
ble.
OPOS ADK for .NET:
OPOS ADK for .NET allows yo
u
t
o develop appl
i
ca
ti
o
n
s
t
ha
t
are compa
ti
ble
w
it
h M
i
crosof
t
POS for .NET. Whe
n
develop
ing
appl
i
ca
ti
o
n
s,
u
se a separa
t
e
developme
nt
e
n
v
i
ro
n
me
nt
s
u
ch as M
i
crosof
t
V
i
s
u
al S
tu
d
i
o .NET.
*1: OLE
t
ech
n
olo
g
y developed by M
i
crosof
t
d
i
v
i
des sof
t
ware
int
o par
t
blocks. The OPOS
dr
i
ver
i
s pres
u
pposed
t
o be
u
sed w
it
h a developme
nt
e
n
v
i
ro
n
me
nt
s
u
ch as V
i
s
u
al Bas
i
c,
un
l
i
ke ord
in
ary W
in
dows dr
i
vers. I
t
i
s
n
o
t
a dr
i
ver
t
o be
u
sed for pr
inting
from commerc
i
al
appl
i
ca
ti
o
n
s.