EasyManua.ls Logo

Epson TM T88V - Addpageline

Epson TM T88V
122 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
78
addPageLine
Adds line drawing in page mode to the command buffer. Draws a line in page mode.
Syntax
public void addPageLine
(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.
Diagonal lines cannot be drawn.
Use this API function by inserting it between addPageBegin (p.70) and addPageEnd (p.71).
Set value Description
Builder.LINE_THIN Solid line: Thin
Builder.LINE_MEDIUM Solid line: Medium
Builder.LINE_THICK Solid line: Thick
Builder.LINE_THIN_DOUBLE Double line: Thin
Builder.LINE_MEDIUM_DOUBLE Double line: Medium
Builder.LINE_THICK_DOUBLE Double line: Thick
Builder.PARAM_DEFAULT Solid line: Thin
Error status Description
ERR_PARAM Invalid parameter was passed.
ERR_MEMORY Could not allocate memory.
ERR_FAILURE An unspecified error occurred.

Table of Contents

Other manuals for Epson TM T88V

Related product manuals