Epson TM-m50II ePOS-Print XML Users Manual - Page 81
<image>, Attribute, width, height, color, align
View all Epson TM-m50II manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 81 highlights
Chapter 4 XML Reference - XML for Controlling Printer This element allows you to specify a raster image. (data type xs: base64Binary) Raster images are composed of pixels arranged in a grid formation. The top left corner is the origin. Two colors (black and white) uses 1 bit per pixel, and 16 colors uses 4 bits per pixel. The bits are arranged from the highest bit of each byte. Zero padding is needed so that each line of the image is expressed in byte units. Attribute width • "width" and "height" must be specified. • If "color" and "mode" are not specified, the values shown below are set. ∗ color: color_1 ∗ mode: mono Attribute value "0" to "655635" height Description Specifies the image width in units of dots Attribute value "0" to "655635" color Description Specifies the image height in units of dots Attribute value "none" "color_1" "color_2" "color_3" "color_4" align No printing First color Second color Third color Fourth color Description "left" "center" "right" Attribute value mode Left alignment Center alignment Right alignment Description "mono" Attribute value Description Black and white (2 colors) 81