6
■ Environment Settings in Other Execution Environments.................................................. 28
HTML5 (To Build a Web Server on Windows/Linux)............................................................................28
Java .......................................................................................................................................................29
Windows (Visual Basic .NET) ................................................................................................................30
Silverlight ................................................................................................................................................31
Flash .......................................................................................................................................................32
Android..................................................................................................................................................33
Windows CE ..........................................................................................................................................35
iOS ..........................................................................................................................................................39
Windows Store Apps.............................................................................................................................40
Programming Guide....................................................................41
■ How to Use XML Schemas ................................................................................................. 41
Visual Studio ..........................................................................................................................................41
Eclipse....................................................................................................................................................45
■ ePOS-Print XML ................................................................................................................... 46
Print Mode .............................................................................................................................................46
Programming Flow................................................................................................................................46
Print Document Creation ....................................................................................................................47
Transmission of Print Document...........................................................................................................51
Reception of Print Result......................................................................................................................53
Checking the Printer Status .................................................................................................................55
■ Printing in Other Environments .......................................................................................... 56
Microsoft Silverlight ...............................................................................................................................56
Adobe Flex............................................................................................................................................57
ePOS-Print XML Reference..........................................................59
■ Element List ......................................................................................................................... 59
■ Root Element....................................................................................................................... 60
<epos-print>..........................................................................................................................................60
<response>............................................................................................................................................61
■ Element ............................................................................................................................... 64
<text> .....................................................................................................................................................64
<feed> ...................................................................................................................................................70
<image> ................................................................................................................................................72
<logo>....................................................................................................................................................74
<barcode> ............................................................................................................................................75
<symbol> ...............................................................................................................................................79
<hline> ...................................................................................................................................................84
<vline-begin> ........................................................................................................................................85
<vline-end> ...........................................................................................................................................86
<page>..................................................................................................................................................87
<area> ...................................................................................................................................................88
<direction> ............................................................................................................................................89
<position> ..............................................................................................................................................90
<line>......................................................................................................................................................91
<rectangle> ..........................................................................................................................................92
<cut>......................................................................................................................................................93