164
ePOS-Print Canvas API Object
Prints a print image rendered in HTML5 Canvas and monitors the print result or the communication status.
Constructor
Constructor for an ePOS-Print Canvas API object.
Creates a new ePOS-Print Canvas API object and initializes it.
Syntax
CanvasPrint
(address);
Parameter
address
:
(
Optional
parameter,
Object
type
:
String)
Specifies
the
address
property
(URL
of
printer
to
be
used
for
printing).
The
URL
is
as
follows:
Example
http://[ePOS-Print supported TM printer]/cgi-bin/epos/service.cgi?devid=[device
ID of printer to be used for printing]&timeout=[timeout time]
<script type="text/javascript" src="epos-print-3.x.x.js"></script>
<script type="text/javascript">
<!--
function printCanvas() {
var address = 'http://192.168.192.168/cgi-bin/epos/service.cgi?devid=local_printer';
var epos = new epson.CanvasPrint(address);
}
//-->
</script>
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 ...