Epson TM-T70-i ePOS-Print API Users Manual For TM-i firmware 4.1 - Page 114
add Line method, add Line
View all Epson TM-T70-i manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 114 highlights
addPageLine method Adds line drawing in page mode to the command buffer. Draws a line in page mode. • Diagonal lines cannot be drawn. • Use this API function by inserting it between addPageBegin (p. 106) and addPageEnd (p. 107). Syntax addPageLine(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 114