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
Содержание TM-T88V-i
Страница 10: ...10 ...
Страница 14: ...14 ePOS Print Canvas API Monochrome or Grayscale Monochrome ...
Страница 160: ...160 ...
Страница 216: ...216 Forced transmission mode Supported Recovery from an error Supported Reset Supported Command Supported 80mm ...
Страница 218: ...218 Forced transmission mode Supported Recovery from an error Supported Reset Supported Command Supported 80mm ...
Страница 222: ...222 Forced transmission mode Supported Recovery from an error Supported Reset Supported Command Supported 80mm 58mm ...
Страница 258: ...258 ...