111
Chapter 4 ePOS-Print API
4
addPageDirection method
Adds the page mode print direction setting to the command buffer. Specifies the print direction in page
mode. This function can be omitted if rotation is not required.
Syntax
addPageDirection
(dir);
Parameter
dir
:
(
Required
parameter,
Object
type
:
String)
Specifies
the
direction
in
page
mode.
Return value
Exception
Use
this
API
function
by
inserting
it
between
addPageBegin
)
and
PageEnd
).
Constant (dir)
Description
DIRECTION_LEFT_TO_RIGHT(default)
Left to right
(No rotation.Data is printed from the top left
corner to the right.)
DIRECTION_BOTTOM_TO_TOP
Bottom to top
(Counterclockwise rotation by 90 degrees.
Data is printed from the bottom left corner
to the top.)
DIRECTION_RIGHT_TO_LEFT
Right to left
(Rotation by 180 degrees.Data is printed
from the bottom right corner to the left.)
DIRECTION_TOP_TO_BOTTOM
Top to bottom
(Clockwise rotation by 90 degrees.
Data is printed from the top right corner to
the bottom.)
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 ...