default

libepos

N
EposImageHelpers

Helper functions for getting images printed.

N
EposXml

The "base" XML stuff with minimal abstraction.

image-helpers

Helper functions for getting images printed.

T
EposImageData

A minimal form of the DOM's ImageData.

E
EposImageHalftone

How the image encoder should handle halftone stuff.

T
EposImageHelpers.EposImageData

A minimal form of the DOM's ImageData.

E
EposImageHelpers.EposImageHalftone

How the image encoder should handle halftone stuff.

f
EposImageHelpers.rawUtoa

A pure JS Uint8Array Base64 encoder. You should probably use utoa instead.

f
EposImageHelpers.toGrayImage

Converts the image to a grayscale printer imagedata. Only for supported models

f
EposImageHelpers.toMonoImage

Converts the image to a monochrome printer imagedata.

f
EposImageHelpers.utoa

Uint8Array to Ascii. Similar to btoa, but safer.

E
EposXml.EposImageHalftone

How the image encoder should handle halftone stuff.

f
rawUtoa

A pure JS Uint8Array Base64 encoder. You should probably use utoa instead.

f
toGrayImage

Converts the image to a grayscale printer imagedata. Only for supported models

f
toMonoImage

Converts the image to a monochrome printer imagedata.

f
utoa

Uint8Array to Ascii. Similar to btoa, but safer.

print

The functionality for getting shit actually printed.

c
EposPrinter

An Epson Point of Sale Thermal Printer.

scannable

Wrappers around EposImage using npm:@zxing/library.

xml

The "base" XML stuff with minimal abstraction.

f
bitMatrixToImageData

Converts a Bit Matrix to an ImageData.

E
EposAlign

The alignment on the horizontal axis

c
EposCut

A <cut> element.

E
EposCutType

How the printer should cut the feed

c
EposFeed

A <feed> element.

E
EposFont

A printer font.

E
EposImageColour

The colour mode to use. Only Colour1 is tested.

E
EposImageMode

Epson Point of Sale system image modes.

c
EposPrint

The root <epos-print> element of the document. Everything of yours should be a child hereof.

f
EposXml.bitMatrixToImageData

Converts a Bit Matrix to an ImageData.

E
EposXml.EposAlign

The alignment on the horizontal axis

c
EposXml.EposCut

A <cut> element.

E
EposXml.EposCutType

How the printer should cut the feed

c
E
EposXml.EposFont

A printer font.

E
EposXml.EposImageColour

The colour mode to use. Only Colour1 is tested.

E
EposXml.EposImageMode

Epson Point of Sale system image modes.

c
EposXml.EposPrint

The root <epos-print> element of the document. Everything of yours should be a child hereof.

c
EposXml.SoapBody

The <s:body> XML element for an XMLSoap document.

c
EposXml.SoapEnvelope

The <s:Envelope> Root XML element for an XMLSoap document.

c
EposXml.SoapEnvelopeDocumentRoot

The document root, with the declaration element, for a Soap Envelope.

c
SoapBody

The <s:body> XML element for an XMLSoap document.

c
SoapEnvelope

The <s:Envelope> Root XML element for an XMLSoap document.

c
SoapEnvelopeDocumentRoot

The document root, with the declaration element, for a Soap Envelope.