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 #139 background imageLoading...
Page #139 background image
139
Chapter 4 ePOS-Print API
4
send method
Sends a print document created using an ePOS-Print Builder object.
Syntax
send(request);
Parameter
request:(Requiredparameter,Objecttype:String)
Specifiestheprintdocument.
Exception
Example
AprintdocumentisobtainedbyexecutingthetoStringmethod(p.133)oftheePOSPrintBuilder
object.
Exception Object type
Parameter " ... " is invalid Error
XMLHttpRequest is not supported Error
<script type="text/javascript" src="epos-print-3.x.x.js"></script>
<script type="text/javascript">
<!--
function printHellowWorld() {
var builder = new epson.ePOSBuilder();
builder.addText('Hello, World!\n');
builder.addCut();
var request = builder.toString();
var address = 'http://192.168.192.168/cgi-bin/epos/service.cgi?devid=local_printer';
var epos = new epson.ePOSPrint(address);
epos.onreceive = function (res) { alert(res.success); };
epos.onerror = function (err) { alert(err.status); };
epos.send(request);
}
//-->
</script>

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