Epson TM-m50II ePOS-Print XML Users Manual - Page 48
To create a graphic print document, Print image
View all Epson TM-m50II manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 48 highlights
Chapter 3 Programming Guide - Executing Print Service To create a graphic print document: Create a graphic print document using the image element in the epos-print root element. Set the image size using an attribute of the image element. For graphics, specify raster graphic bit-image data using a base 64 encoded character string. Refer to the following program for print document creation. To create a print document with a checkered flag raster image: function createDocument() { //Start print document creation. var request = ''; //Create a print document // request += '8PDw8A8PDw/w8PDwDw8PD/ Dw8PAPDw8P8PDw8A8PDw/w8PDwDw8PD/Dw8PAPDw8P'; // request += ''; //End print document creation. request += ''; } • This section describes how to print a raster image. In addition, there is also a method of printing graphics registered in the NV memory of the printer. For details, refer to (p.84). • For details on how to create raster images, refer to Encoding Graphic Data (p.438). Print image 48