Select your printer model

Parameters are refined by the selected printer.

addTextFont


Adds character font setting to the command buffer.

Syntax

 
- (int) addTextFont:(int)font;

Parameter

font

Specifies the font.

Value

Description

EPOS2_FONT_A (default)

Font A

EPOS2_FONT_B

Font B

EPOS2_FONT_C

Font C

EPOS2_FONT_D

Font D

EPOS2_FONT_E

Font E

EPOS2_PARAM_DEFAULT

Specifies the default value (font A).

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.

 

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