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 #45 background imageLoading...
Page #45 background image
45
Chapter 3 Programming Guide
3
To create a text print document:
To create a text print document, store the font settings into the command buffer using text methods and
then create a print document. Refer to the following program.
<script type="text/javascript" src="epos-print-3.x.x.js"></script>
<script type="text/javascript">
function buildMessage() {
//Create an ePOS-Print Builder object
var builder = new epson.ePOSBuilder();
//Create a print document
//<Configure the print character settings>
builder.addTextLang('en');
builder.addTextSmooth(true);
builder.addTextFont(builder.FONT_A);
builder.addTextSize(4, 4);
builder.addTextStyle(false, false, true, undefined);
//<Specify the print data>
builder.addText('Hello,\tWorld!\n');
builder.addCut(builder.CUT_FEED);
//Acquire the print document
var request = builder.toString();
}
</script>
For the string "Hello World!", to create a print document based on the following settings:
Font: FontA
Scale: x 4 (horizontal) and x 4 (vertical)
Style: Bold

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