Epson TM-T70-i ePOS-Print API Users Manual For TM-i firmware 4.1 - Page 79
addTextStyle method, addTextStyle
View all Epson TM-T70-i manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 79 highlights
Chapter 4 ePOS-Print API addTextStyle method Adds the text style setting to the command buffer. Syntax addTextStyle(reverse, ul, em, color); Parameter reverse : ( Optional parameter, Object type : Boolean) Specifies inversion of black and white for text. true or 1 Setting false or 0 (default) undefined (When not specified) 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 for inversion of black and white. ul : em : ( Optional parameter, Object type : Boolean) Specifies the underline style. Setting Description true or 1 Specifies underlining. false or 0 (default) Cancels underlining. undefined (When not specified) Retains the current underlining setting. 4 ( Optional parameter, Object type : Boolean) Specifies the bold style. Setting true or 1 false or 0 (default) undefined (When not specified) Description Specifies emphasized printing of characters. Cancels emphasized printing of characters. Retains the current setting for emphasized printing. color : ( Optional parameter, Object type : String) Specifies the color. Setting COLOR_NONE COLOR_1 (default) COLOR_2 COLOR_3 COLOR_4 undefined (When not specified) Description Characters are not printed. First color Second color Third color Fourth color Retains the current color setting 79