Select your printer model

Parameters are refined by the selected printer.

addSetBrightness


Adds brightness setting of the customer display to the command buffer.

Syntax

 
- (int)addSetBrightness:(int)brightness;

Parameter

brightness

Specifies the brightness value of the customer display.

Value

Description

EPOS2_BRIGHTNESS_20

Sets the customer display brightness to 20%.

EPOS2_BRIGHTNESS_40

Sets the customer display brightness to 40%.

EPOS2_BRIGHTNESS_60

Sets the customer display brightness to 60%.

EPOS2_BRIGHTNESS_100

Sets the customer display brightness to 100%.

EPOS2_PARAM_DEFAULT

Specifies the default value (brightness 100%).

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