109
Chapter 4 ePOS-Print API
4
addPageArea method
Adds the print area in page mode to the command buffer.
Specifies the print area in page mode (coordinates). After this API function, specify a print data API function
such as the addText method.
Syntax
addPageArea
(x, y, width, height);
Parameter
x
:
(
Required
parameter,
Object
type
:
Number)
Specifies
the
origin
of
the
horizontal
axis
(in
dots).
Specifies
an
integer
from
0
to
65535.
0
is
the
left
end
of
the
printer
ʹ
s
printable
area.
y
:
(
Required
parameter,
Object
type
:
Number)
Specifies
the
origin
of
the
vertical
axis
(in
dots).
Specifies
an
integer
from
0
to
65535.
0
is
the
position
in
which
no
paper
feed
has
been
performed.
width
:
(
Required
parameter,
Object
type
:
Number)
Specifies
the
width
of
the
area
(in
dots).
Specifies
an
integer
from
0
to
65535.
height
:
(
Required
parameter,
Object
type
:
Number)
Specifies
the
height
of
the
area
(in
dots).
Specifies
an
integer
from
0
to
65535.
Return value
Exception
• Specify
a
area
to
cover
the
content
to
be
printed.
If
the
data
extends
beyond
the
area,
the
result
will
be
such
that
the
data
has
been
printed
incompletely.
• Use
this
API
function
by
inserting
it
between
addPageBegin
)
and
PageEnd
).
Determine
the
width
and
height
of
the
area
according
to
the
direction
setting.
Otherwise,
the
data
might
not
be
printed
completely.
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 ...