Epson TM-T70-i ePOS-Print API Users Manual For TM-i firmware 4.1 - Page 116
add Rectangle method, add Rectangle
View all Epson TM-T70-i manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 116 highlights
addPageRectangle method Adds rectangle drawing in page mode to the command buffer. Draws a rectangle in page mode. Use this API function by inserting it between addPageBegin (p. 106) and addPageEnd (p. 107). Syntax addPageRectangle(x1, y1, x2, y2, style); Parameter x 1: y 1: x2 : y2 : style : ( Required parameter, Object type : Number) Specifies the horizontal start position of the line (in dots). Specifies an integer from 0 to 65535. ( Required parameter, Object type : Number) Specifies the vertical start position of the line (in dots). Specifies an integer from 0 to 65535. ( Required parameter, Object type : Number) Specifies the horizontal end position of the line (in dots). Specifies an integer from 0 to 65535. ( Required parameter, Object type : Number) ècSpecifies the vertical end position of the line (in dots). Specifies an integer from 0 to 65535. ( Optional parameter, Object type : String) Specifies the line type. Constant (style) LINE_THIN LINE_MEDIUM LINE_THICK LINE_THIN_DOUBLE LINE_MEDIUM_DOUBLE LINE_THICK_DOUBLE undefined (When not specified) Description Solid line: Thin Solid line: Medium Solid line: Thick Double line: Thin Double line: Medium Double line: Thick Solid line: Thin Return value Return value ePOS-Print Builder Object Object type ePOS Builder Exception Parameter " ... " is invalid Exception Object type Error 116