Select your printer model

Parameters are refined by the selected printer.

addVLineBegin method


Adds a command to start drawing a vertical ruled line to the command buffer.

Syntax

 
addVLineBegin(x, style);

Parameter

x

Value

Description

Integer from 0 to 65535

Specifies the start position to draw a vertical ruled line in dots.

style

Constant

Description

LINE_THIN

Solid line: Fine

LINE_MEDIUM

Solid line: Middle

LINE_THICK

Solid line: Thick

LINE_THIN_DOUBLE

Double line: Fine

LINE_MEDIUM_DOUBLE

Double line: Middle

LINE_THICK_DOUBLE

Double line: Thick

undefined

Solid line: Fine

Return value

Return value

Object type

Printer object

Printer

HybridPrinter2 object

HybridPrinter2

Exception

Exception

Object type

Parameter " ... " is invalid

Error

Supplementary explanation

  • This API does not work in the page mode.
  • Use addPageLine method to draw a horizontal ruled line in the page mode.
  • This API draws a vertical ruled line until stopped by addVLineEnd method. Use the addVLineBegin method together with the addVLineEnd method.
 

Quick Access

  • [Name]
  • [Format]
  • [Range]
  • [Description]
  • [Notes]

Epson ePOS SDK includes patented or patent pending functions. The contents must not be disclosed to third parties.


Epson ePOS SDK for JavaScript

Jump to the top