Epson Mobilink P80 ePOS-Print API Users Manual - Page 88
MODE_MONO, Monochrome two-tone, MODE_GRAY16, Gray scale 16-tone, undefined, When not specified
![]() |
View all Epson Mobilink P80 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 88 highlights
mode : ( Optional parameter, Object type : String) Specifies the color mode. (in firmware Ver.1.2 and later) Setting Description MODE_MONO MODE_GRAY16 undefined (When not specified) Monochrome (two-tone) Gray scale (16-tone) Monochrome (two-tone) Return value Return value ePOS-Print Builder Object Exception Parameter " ... " is invalid Example Exception Object type ePOS Builder Object type Error To print an image 300 dots wide and 300 dots high in page mode: var canvas = document.getElementById('myCanvas'); var context = canvas.getContext('2d'); var builder = new epson.ePOSBuilder(); builder.addPageBegin(); builder.addPageArea(0, 0, 300, 300); builder.addPagePosition(0, 299); builder.addImage(context, 0, 0, 300, 300); builder.addPageEnd(); 88
![](/manual_guide/products/epson-p60ii-eposprint-api-user-s-manual-65937ba/88.png)