Epson TM-m50II ePOS-Print XML Users Manual - Page 47
To create a text print document, Print image
View all Epson TM-m50II manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 47 highlights
Chapter 3 Programming Guide - Executing Print Service To create a text print document: Create a text print document using the text element in the epos-print root element. Configure the settings for the text to print using the attributes of the text element. Refer to the following program for print document creation. 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 function createDocument() { //Start print document creation. var request = ''; //Create a print document // request += ''; request += ''; request += ''; request += ''; request += ''; // request += 'Hello, World! '; // request += ''; //End print document creation. request += ''; } Print image 47