125
Chapter 4 ePOS-Print API
4
addLayout method
Adds paper layout information to the command buffer.
Syntax
addLayout
(type, width, height, margin_top,
margin_bottom, offset_cut, offset_label);
Parameter
type
:
(
Required
parameter,
Object
type
:
String)
Specifies
the
paper
type.
width
:
(
Optional
parameter,
Object
type
:
Number,
When
not
specified
:
580)
Specifies
paper
width
(in
units
of
0.1mm).
Specifies
an
integer
from
290
to
600.
*
height
:
(
Optional
parameter,
Object
type
:
Number,
When
not
specified
:
0)
Specifies
paper
height
(in
units
of
0.1mm).
Setting
of
page
layout
must
be
done
in
the
standard
mode.
In
the
page
mode,
addLayout
cannot
be
specified.
Constant (type)
Description
LAYOUT_RECEIPT
Receipt (without black mark)
LAYOUT_RECEIPT_BM
Receipt (with black mark)
LAYOUT_LABEL
Die-cut label (without black mark)
LAYOUT_LABEL_BM
Die-cut label (with black mark)
Paper Type
Valid value range
Description
Receipt
(without black mark)
0
Setup not necessary
Receipt (with black mark)
0 (Auto)
284 to 1550 (Manual) *
Distance from the top of
black mark to the top of
next black mark
Die-cut label
(without black mark)
Distance from the top of
label to the top of next label
Die-cut label
(with black mark)
Distance from the bottom of
black mark to the bottom of
next black mark.
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 ...