73
Chapter 4 ePOS-Print API
4
addTextFont method
Adds the text font setting to the command buffer.
Syntax
addTextFont
(font);
Parameter
font
:
(
Required
parameter,
Object
type
:
String)
Specifies
the
font.
Return value
Exception
Example
Constant
(font)
Language
FONT_A (default)
Font A
FONT_B
Font B
FONT_C
Font C
Return value
Object type
ePOS-Print Builder Object
ePOS Builder
Exception
Object type
Parameter " ... " is invalid
Error
<script type="text/javascript" src="epos-print-3.x.x.js"></script>
<script type="text/javascript">
<!--
function buildMessage() {
var builder = new epson.ePOSBuilder();
builder.addTextFont(builder.FONT_B);
}
//-->
</script>
To set the font B:
Summary of Contents for TM-T88V-i
Page 10: ...10 ...
Page 14: ...14 ePOS Print Canvas API Monochrome or Grayscale Monochrome ...
Page 160: ...160 ...
Page 258: ...258 ...