addVLineEnd method
Adds the end of vertical line to the command buffer. Finishes drawing vertical lines.
• Not available in page mode.
• Use this API function with addVLineBegin (p. 103).
Syntax
addVLineEnd(x, style);
Parameter
x :
( Required parameter, Object type : Number)
Specifies the end position of the vertical line (in dots). Specifies an integer from 0 to 65535.
style :
( Optional parameter, Object type : String)
Specifies the type of the line you want to finish drawing.
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
105
4