Select your printer model

Parameters are refined by the selected printer.

addSetBrightness


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

Syntax

 
publice void addSetBrightness(int brightness) throws Epos2Exception

Parameter

brightness

Specifies the brightness value of the customer display.

Value

Description

LineDisplay.BRIGHTNESS_20

Sets the customer display brightness to 20%.

LineDisplay.BRIGHTNESS_40

Sets the customer display brightness to 40%.

LineDisplay.BRIGHTNESS_60

Sets the customer display brightness to 60%.

LineDisplay.BRIGHTNESS_100

Sets the customer display brightness to 100%.

LineDisplay.PARAM_DEFAULT

Specifies the default value (brightness 100%).

Exception

When the process fails, Epos2Exception with one of the following error value occurs.

Error status

Description

ERR_PARAM

An invalid parameter was passed.

ERR_MEMORY

Memory necessary for processing could not be allocated.

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 Android

Jump to the top