52
addTextStyle
Adds the text style setting to the command buffer.
Syntax
public void addTextStyle(int reverse, int ul, int em
, int color) throws EposException
Parameter
reverse : Specifies inversion of black and white for text.
ul : Specifies the underline style.
em : Specifies the bold style.
color : Specifies the color.
Set value Description
Builder.TRUE Specifies the inversion of black and white parts
of characters.
Builder.FALSE (default) Cancels the inversion of black and white parts
of characters.
Builder.PARAM_UNSPECIFIED Retains the current setting.
Set value Description
Builder.TRUE Specifies underlining.
Builder.FALSE (default) Cancels underlining.
Builder.PARAM_UNSPECIFIED
Retains the current setting.
Set value Description
Builder.TRUE Specifies emphasized printing of characters.
Builder.FALSE (default) Cancels emphasized printing of characters.
Builder.PARAM_UNSPECIFIED Retains the current setting.
Set value Description
Builder.COLOR_NONE Characters are not printed.
Builder.COLOR_1 (default) First color
Builder.COLOR_2 Second color
Builder.COLOR_3 Third color
Builder.COLOR_4 Fourth color
Builder.PARAM_UNSPECIFIED Retains the current color setting