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
Содержание 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 ...