Epson TM-T20II Technical Reference Guide - Page 61

Application Development Information, How to Control the Printer, Selecting a Driver

Page 61 highlights

Chapter 3 Application Development Information Application Development Information This chapter describes how to control the printer and gives information useful for printer application development. How to Control the Printer Use a driver or ESC/POS commands to control the printer. Selecting a Driver Choose one of the drivers listed in "Printer Drivers" on page 68, depending on the application operating environment. You cannot control a single printer with more than one driver. For information about the driver operating environment, see the installation manual for each driver. When you newly develop an application • Use APD if you want to print TrueType fonts or print many graphics. 3 • OPOS ADK is recommended for system extensibility. An OPOS driver is provided for various peripherals and it is a POS industry standard now. It enables POS system efficiency, reduction of development cost, and effective use of application assets. You can use all functions, including ones not supported by OPOS ADK or APD, by using ESC/POS commands through your driver. Use the DIRECT I/O function of OPOS ADK, the control A command of APD, or Status API to send ESC/POS commands from each driver. (See "ESC/POS command functions" on page 62.) 61

  • 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

Chapter 3
Application Development Information
61
3
Application Development Information
Th
i
s chap
t
er descr
i
bes how
t
o co
nt
rol
t
he pr
int
er a
n
d
gi
ves
in
forma
ti
o
n
u
sef
u
l for pr
int
er
appl
i
ca
ti
o
n
developme
nt
.
How to Control the Printer
Use a dr
i
ver or ESC/POS comma
n
ds
t
o co
nt
rol
t
he pr
int
er.
Selecting a Driver
Choose o
n
e of
t
he dr
i
vers l
i
s
t
ed
in
"Pr
int
er Dr
i
vers" o
n
pa
g
e 68
, depe
n
d
ing
o
n
t
he appl
i
ca
ti
o
n
opera
ting
e
n
v
i
ro
n
me
nt
. Yo
u
ca
nn
o
t
co
nt
rol a s
ing
le pr
int
er w
it
h more
t
ha
n
o
n
e dr
i
ver.
For
in
forma
ti
o
n
abo
ut
t
he dr
i
ver opera
ting
e
n
v
i
ro
n
me
nt
, see
t
he
in
s
t
alla
ti
o
n
ma
nu
al for each
dr
i
ver.
When you newly develop an application
Use APD
i
f yo
u
wa
nt
t
o pr
int
Tr
u
eType fo
nt
s or pr
int
ma
n
y
g
raph
i
cs.
OPOS ADK
i
s recomme
n
ded for sys
t
em ex
t
e
n
s
i
b
i
l
it
y. A
n
OPOS dr
i
ver
i
s prov
i
ded for var
i
o
u
s
per
i
pherals a
n
d
it
i
s a POS
in
d
u
s
t
ry s
t
a
n
dard
n
ow. I
t
e
n
ables POS sys
t
em eff
i
c
i
e
n
cy, red
u
c
ti
o
n
of developme
nt
cos
t
, a
n
d effec
ti
ve
u
se of appl
i
ca
ti
o
n
asse
t
s.
You can use all functions, including ones not supported by OPOS ADK or APD, by using
ESC/POS commands through your driver. Use the DIRECT I/O function of OPOS ADK, the
control A command of APD, or Status API to send ESC/POS commands from each driver.
(See
"ESC/POS command functions" on page 62
.)