59
Chapter 4 ePOS-Print API
4
ePOS-Print API
This chapter describes the ePOS-Print API.
List of API functions
ePOS-Print provides the following objects:
❏ ePOS-Print Builder (window.epson.ePOSBuilder) Object (p. 59)
❏ ePOS-Print (window.epson.ePOSPrint) Object (p. 63)
window.epson.ePOSBuilder Components
Elem-
ent
API Description
Stan-
dard
mode
page
mode
Pa-
ge
Constructor
ePOS Builder
Initializes an ePOS-Print XML Builder
object
● ● 65
Method
Text
addTextAlign
Adds a tag for the text alignment
setting.
● - 66
addText-
LineSpace
Adds a tag for the line feed space
setting.
●●67
addTextRotate
Adds a tag for the text rotation set-
ting.
● - 68
addText Adds a tag for printing text. ●●69
addTextLang
Adds a tag for the target language
setting.
● ● 70
addTextFont Adds a tag for the text font setting. ●●73
addTextSmooth
Adds a tag for the text smoothing
setting.
● ● 74
addTextDouble
Adds a tag for specifying the dou-
ble-sized text setting.
●●75
addTextSize Adds a tag for the text scale setting. ● ● 77
addTextStyle Adds a tag for the text style setting. ●●78
addTextPosition
Adds a tag for specifying the print
position of text.
● ● 80
addTextVPosition
Adds a tag for specifying the print
vertical position of text.
(in firmware Ver.3.0 and later)
- ● 81