Epson TM-T70-i ePOS-Print API Users Manual For TM-i firmware 4.1 - Page 173
epos.brightness = 2.2
![]() |
View all Epson TM-T70-i manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 173 highlights
Chapter 5 ePOS-Print Canvas API brightness property Brightness correction value. Object type Number Description A gamma value in the range 0.1-10.0 is specified for the brightness correction value. The default value is 1.0. Example To set brightness as 2.2: 5 173
![](/manual_guide/products/epson-p60ii-eposprint-api-user-s-manual-tmi-firmware-41-a0c01f3/173.png)
173
Chapter 5
ePOS-Print Canvas API
5
brightness property
Brightness correction value.
Object type
Number
Description
A gamma value in the range 0.1-10.0 is specified for the brightness correction value.
The default value is 1.0.
Example
To set brightness as 2.2:
<script type="text/javascript" src="epos-print-4.x.x.js"></script>
<script type="text/javascript">
<!--
var canvas = document.getElementById('myCanvas');
var epos = new epson.CanvasPrint(address);
epos.brightness = 2.2;
epos.print(canvas);
//-->
</script>