Addpagerectangle - Epson TM-T88V User Manual

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

Advertisement

addPageRectangle

Adds rectangle drawing in page mode to the command buffer. Draws a rectangle in page mode.
Use this API function by inserting it between
Syntax
public void addPageRectangle
(int x1, int y1, int x2, int y2, int style)
throws EposException
Parameter
 x1:
Specifies the horizontal start position of the line (in dots). 
Specifies an integer from 0 to 65535.
 y1:
Specifies the vertical start position of the line (in dots). 
Specifies an integer from 0 to 65535.
 x2 :
Specifies the horizontal end position of the line (in dots). 
Specifies an integer from 0 to 65535.
 y2 :
Specifies the vertical end position of the line (in dots). 
Specifies an integer from 0 to 65535.
 style :
Specifies the line type.
Exceptions
When processing fails, EposException is thrown with one of the following error values.
Error status
ERR_PARAM
ERR_MEMORY
ERR_FAILURE
80
Set value
Builder.LINE_THIN
Builder.LINE_MEDIUM
Builder.LINE_THICK
Builder.LINE_THIN_DOUBLE
Builder.LINE_MEDIUM_DOUBLE
Builder.LINE_THICK_DOUBLE
Builder.PARAM_DEFAULT
Invalid parameter was passed.
Could not allocate memory.
An unspecified error occurred.
addPageBegin (p.70)
and
addPageEnd
Description
Solid line: Thin
Solid line: Medium
Solid line: Thick
Double line: Thin
Double line: Medium
Double line: Thick
Solid line: Thin
Description
(p.71).

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Tm-t70Tm-p60Tm-u220

Table of Contents