Select your printer model

Parameters are refined by the selected printer.

addVLineBegin


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

Starts drawing a vertical line.

Syntax

 
- (int) addVLineBegin:(long)x lineStyle:(int) lineStyle lineId:(int *)lineId;

Parameter

x1

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

Value

Description

Integer from 0 to 65535

Start position to draw a vertical ruled line (in dots)

lineStyle

Specifies the ruled line type.

Value

Description

EPOS2_LINE_THIN

Solid line: Thin

EPOS2_LINE_MEDIUM

Solid line: Medium

EPOS2_LINE_THICK

Solid line: Thick

EPOS2_LINE_THIN_DOUBLE

Double line: Thin

EPOS2_LINE_MEDIUM_DOUBLE

Double line: Medium

EPOS2_LINE_THICK_DOUBLE

Double line: Thick

EPOS2_PARAM_DEFAULT

Specifies the default (solid line: thin).

lineId

Returns the ID of the ruled line printed by this API.

Return value

Error status

Description

EPOS2_SUCCESS

The function was executed successfully.

EPOS2_ERR_PARAM

An invalid parameter was passed.

EPOS2_ERR_MEMORY

Memory necessary for processing could not be allocated.

EPOS2_ERR_FAILURE

An unknown error occurred.

Supplementary explanation

  • This API cannot be used in the page mode.
  • Use addPageLine to draw a vertical ruled line in the page mode.
  • This API draws a vertical ruled line until stopped by addVLineEnd.
  • Use this API with the addVLineEnd API.
 

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 iOS

Jump to the top