default
libepos
Helper functions for getting images printed.
The "base" XML stuff with minimal abstraction.
image-helpers
Helper functions for getting images printed.
A minimal form of the DOM's ImageData.
How the image encoder should handle halftone stuff.
A minimal form of the DOM's ImageData.
How the image encoder should handle halftone stuff.
A pure JS Uint8Array Base64 encoder. You should probably use utoa instead.
Converts the image to a grayscale printer imagedata. Only for supported models
Converts the image to a monochrome printer imagedata.
Uint8Array to Ascii. Similar to btoa, but safer.
How the image encoder should handle halftone stuff.
Converts the image to a grayscale printer imagedata. Only for supported models
Converts the image to a monochrome printer imagedata.
The functionality for getting shit actually printed.
scannable
Wrappers around EposImage using npm:@zxing/library.
An Aztec Code, using an EposImage.
xml
The "base" XML stuff with minimal abstraction.
Converts a Bit Matrix to an ImageData.
The alignment on the horizontal axis
How the printer should cut the feed
A printer font.
An ePOS <image> element. Embeds an image into the output.
The colour mode to use. Only Colour1 is tested.
Epson Point of Sale system image modes.
The root <epos-print> element of the document. Everything of yours should be a child hereof.
A <text> element. Formatting carries through to the next text elements.
Converts a Bit Matrix to an ImageData.
The alignment on the horizontal axis
How the printer should cut the feed
A printer font.
An ePOS <image> element. Embeds an image into the output.
The colour mode to use. Only Colour1 is tested.
Epson Point of Sale system image modes.
The root <epos-print> element of the document. Everything of yours should be a child hereof.
A <text> element. Formatting carries through to the next text elements.
The <s:body> XML element for an XMLSoap document.
The document root, with the declaration element, for a Soap Envelope.
The <s:body> XML element for an XMLSoap document.
The document root, with the declaration element, for a Soap Envelope.