113
Chapter 4 ePOS-Print API
4
addPagePosition method
Adds the page mode print-position-set area to the command buffer.
Specifies the print start position (coordinates) in the area specified by the addPageArea method.
Syntax
addPagePosition
(x, y);
Parameter
x
:
(
Required
parameter,
Object
type
:
Number)
Specifies
the
horizontal
position
(in
dots).
Specifies
an
integer
from
0
to
65535.
y
:
(
Required
parameter,
Object
type
:
Number)
Specifies
the
vertical
position
(in
dots).
Specifies
an
integer
from
0
to
65535.
Return value
Exception
Use
this
API
function
by
inserting
it
between
addPageBegin
)
and
PageEnd
).
Specify
the
start
position
(coordinates)
according
to
the
content
to
be
printed.
Refer
to
the
following.
To
a
character
string:
Specify
the
left
end
of
the
baseline
for
the
first
character.
This
can
be
omitted
for
left
‐
aligned
printing
of
standard
‐
sized
characters.
To
double
‐
sized
height
characters,
specify
a
value
equal
to
or
greater
than
42
for
y.
To
a
barcode:
Specify
the
bottom
left
of
the
symbol.
And
specify
the
barcode
height
for
y.
To
a
graphic/logo:
Specify
the
bottom
left
of
the
graphic
data.
And
specify
the
graphic
data
height
for
y.
To
a
two
‐
dimensional
symbol:
Specify
the
top
left
of
the
symbol.
This
can
be
omitted
when
printing
from
the
top
left.
Return value
Object type
ePOS-Print Builder Object
ePOS Builder
Exception
Object type
Parameter " ... " is invalid
Error
Summary of Contents for TM-T88V-i
Page 10: ...10 ...
Page 14: ...14 ePOS Print Canvas API Monochrome or Grayscale Monochrome ...
Page 160: ...160 ...
Page 258: ...258 ...