Codepages

Module escpos.codepages

Helper module for code page handling.

class escpos.codepages.CodePageManager(data)[source]

Bases: object

Holds information about all the code pages.

Information as defined in escpos-printer-db.

static get_encoding_name(encoding)[source]

Get encoding name.

Todo

Resolve the encoding alias.

get_encoding(encoding)[source]

Return the encoding data.