The "base" XML stuff with minimal abstraction.
c
EposImage
An ePOS <image> element. Embeds an image into the output.
c
EposPrint
The root <epos-print> element of the document. Everything of yours should be a child hereof.
c
EposText
A <text> element. Formatting carries through to the next text elements.
c
SoapBody
The <s:body> XML element for an XMLSoap document.
c
c
SoapEnvelopeDocumentRoot
The document root, with the declaration element, for a Soap Envelope.
E
EposAlign
The alignment on the horizontal axis
E
EposCutType
How the printer should cut the feed
E
EposFont
A printer font.
E
EposImageColour
The colour mode to use. Only Colour1 is tested.
E
EposImageHalftone
How the image encoder should handle halftone stuff.
E
EposImageMode
Epson Point of Sale system image modes.
f
bitMatrixToImageData
Converts a Bit Matrix to an ImageData.
Usage
import * as mod from "xml";