EasyManuals Logo

Epson TM-T88V-i User Manual

Epson TM-T88V-i
258 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #165 background imageLoading...
Page #165 background image
165
Chapter 5 ePOS-Print Canvas API
5
print method
Prints an image rendered in HTML5 Canvas.
Converts the specified range in a RGBA full-color image of HTML5 Canvas into raster image data according
to the settings of the halftone and brightness properties. One pixel in an image equals to one printer dot.
When an image contains any transparent color, the background color of the image is assumed to be white.
Syntax
1
print(canvas);
2
print(canvas, cut, mode);
Parameter
canvas:(Requiredparameter,Objecttype:canvas)
SpecifytheHTML5Canvasobjecttobeprinted.
cut:(Optionalparameter,Objecttype:Boolean)
Setswhethertocutpaper.
mode:(Optionalparameter,Objecttype:String)
Specifiesthecolormode.(infirmwa reVer.1.2andlater)
Exception
IfanHTML5Canvasimagecontainsimagesdownloadedfromdifferentdomains,youcannot
printtheimage.Inthiscase,asecurityerroroccursduetoviolationofthesameoriginpolicyof
JavaScript.
2isthesyntaxofcompatibleversion.Itisrecommendedtousethesyntaxof1.
Setting Decription
true or 1 Cuts the paper after printing
false or 0 Does not cut the paper after printing
undefined Does not cut the paper after printing
Setting Decription
MODE_MONO Monochrome (two-tone)
MODE_GRAY16 Multiple tones (16-tone)
undefined Monochrome (two-tone)
Exception Object type
Parameter " ... " is invalid Error
XMLHttpRequest is not supported Error
Canvas is not supported Error

Table of Contents

Other manuals for Epson TM-T88V-i

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Epson TM-T88V-i and is the answer not in the manual?

Epson TM-T88V-i Specifications

General IconGeneral
BrandEpson
ModelTM-T88V-i
CategoryPrinter
LanguageEnglish

Related product manuals