Addpagedirection - Epson TM-T88V User Manual

Epos-print sdk for android
Hide thumbs Also See for TM-T88V:
Table of Contents

Advertisement

addPageDirection

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.
Use this API function by inserting it between
Syntax
public void addPageDirection(int dir)
throws EposException
Parameter
 dir :
Specifies the print direction in page mode.
Exceptions
When processing fails, EposException is thrown with one of the following error values.
Error status
ERR_PARAM
ERR_MEMORY
ERR_FAILURE
74
Set value
Builder.DIRECTION_LEFT_TO_RIGHT
(default)
Builder.DIRECTION_BOTTOM_TO_TOP
Builder.DIRECTION_RIGHT_TO_LEFT
Builder.DIRECTION_TOP_TO_BOTTOM
Invalid parameter was passed.
Could not allocate memory.
An unspecified error occurred.
addPageBegin (p.70)
and
addPageEnd
Description
Left to right
(No rotation.Data is printed from the top left
corner to the right.)
Bottom to top
(Counterclockwise rotation by 90 degrees.
Data is printed from the bottom left corner
to the top.)
Right to left
(Rotation by 180 degrees.Data is printed
from the bottom right corner to the left.)
Top to bottom
(Clockwise rotation by 90 degrees.
Data is printed from the top right corner to
the bottom.)
Description
(p.71).

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Tm-t70Tm-p60Tm-u220

Table of Contents