diff --git a/escpos-printer-db b/escpos-printer-db new file mode 160000 index 0000000..375135d --- /dev/null +++ b/escpos-printer-db @@ -0,0 +1 @@ +Subproject commit 375135d552e3fe65cbd1462b8b8d56c401b13ae7 diff --git a/src/escpos/escpos.py b/src/escpos/escpos.py index f9f6e4e..1f6adeb 100644 --- a/src/escpos/escpos.py +++ b/src/escpos/escpos.py @@ -107,6 +107,8 @@ SW_BARCODE_NAMES = { for name in barcode.PROVIDED_BARCODES } +Alignment = Union[Literal["center", "left", "right"], str] + class Escpos(object, metaclass=ABCMeta): """ESC/POS Printer object.