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.
52
Set value
Builder.TRUE
Builder.FALSE (default)
Builder.PARAM_UNSPECIFIED
Set value
Builder.TRUE
Builder.FALSE (default)
Builder.PARAM_UNSPECIFIED
Set value
Builder.TRUE
Builder.FALSE (default)
Builder.PARAM_UNSPECIFIED
Set value
Builder.COLOR_NONE
Builder.COLOR_1 (default)
Builder.COLOR_2
Builder.COLOR_3
Builder.COLOR_4
Builder.PARAM_UNSPECIFIED
Description
Specifies the inversion of black and white parts
of characters.
Cancels the inversion of black and white parts
of characters.
Retains the current setting.
Description
Specifies underlining.
Cancels underlining.
Retains the current setting.
Description
Specifies emphasized printing of characters.
Cancels emphasized printing of characters.
Retains the current setting.
Description
Characters are not printed.
First color
Second color
Third color
Fourth color
Retains the current color setting