Epson TM-T70-i ePOS-Print API Users Manual For TM-i firmware 4.1 - Page 75
addTextSmooth method, addTextSmooth
View all Epson TM-T70-i manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 75 highlights
Chapter 4 ePOS-Print API addTextSmooth method Adds the smoothing setting to the command buffer. Syntax addTextSmooth(smooth); Parameter smooth : Return value ( Required parameter, Object type : Boolean) Specifies whether to enable smoothing. Setting true or 1 false or 0 (default) Description Specifies smoothing. Cancels smoothing Return value ePOS-Print Builder Object Object type ePOS Builder Exception Parameter " ... " is invalid Exception Object type Error Example 4 To enable smoothing: 75
75
Chapter 4
ePOS-Print API
4
addTextSmooth method
Adds the smoothing setting to the command buffer.
Syntax
addTextSmooth
(smooth);
Parameter
smooth :
( Required parameter, Object type : Boolean)
Specifies whether to enable smoothing.
Return value
Exception
Example
Setting
Description
true or 1
Specifies smoothing.
false or 0 (default)
Cancels smoothing
Return value
Object type
ePOS-Print Builder Object
ePOS Builder
Exception
Object type
Parameter " ... " is invalid
Error
<script type="text/javascript" src="epos-print-4.x.x.js"></script>
<script type="text/javascript">
<!--
function buildMessage() {
var builder = new epson.ePOSBuilder();
builder.addTextSmooth(true);
}
//-->
</script>
To enable smoothing: