Epson TM-T70-i ePOS-Print API Users Manual For TM-i firmware 4.1 - Page 110
add Direction method, add Direction
View all Epson TM-T70-i manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 110 highlights
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. Use this API function by inserting it between addPageBegin (p. 106) and addPageEnd (p. 107). Syntax addPageDirection(dir); Parameter dir : ( Required parameter, Object type : String) Specifies the print direction in page mode. Constant (dir) DIRECTION_LEFT_TO_RIGHT(default) DIRECTION_BOTTOM_TO_TOP DIRECTION_RIGHT_TO_LEFT DIRECTION_TOP_TO_BOTTOM 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.) Return value Return value ePOS-Print Builder Object Object type ePOS Builder Exception Parameter " ... " is invalid Exception Object type Error 110