Addpagerectangle Method - Epson TM-T88V-i User Manual

Epos-print api
Hide thumbs Also See for TM-T88V-i:
Table of Contents

Advertisement

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. 107) and PageEnd (p. 108).
Syntax
addPageRectangle(x1, y1, x2, y2, style);
Parameter
 x 1:
( Required parameter, Object type : Number)
Specifies the horizontal start position of the line (in dots). Specifies an integer from 0 to 65535.
 y 1:
( Required parameter, Object type : Number)
Specifies the vertical start position of the line (in dots). Specifies an integer from 0 to 65535.
 x2 :
( Required parameter, Object type : Number)
Specifies the horizontal end position of the line (in dots). Specifies an integer from 0 to 65535.
 y2 :
( Required parameter, Object type : Number)
ècSpecifies the vertical end position of the line (in dots). Specifies an integer from 0 to 65535.
 style :
( Optional parameter, Object type : String)
Specifies the line type.
LINE_THIN
LINE_MEDIUM
LINE_THICK
LINE_THIN_DOUBLE
LINE_MEDIUM_DOUBLE
LINE_THICK_DOUBLE
undefined (When not specified)
Return value
ePOS-Print Builder Object
Exception
Parameter " ... " is invalid
Constant (style)
Return value
Exception
Chapter 4 ePOS-Print API
Description
Solid line: Thin
Solid line: Medium
Solid line: Thick
Double line: Thin
Double line: Medium
Double line: Thick
Solid line: Thin
ePOS Builder
Error
Object type
Object type
117
4

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Tm-t70-iTm-l90-i

Table of Contents