1
0
mirror of https://github.com/python-escpos/python-escpos synced 2025-08-24 09:03:34 +00:00

add type hint Alignment

This commit is contained in:
belono
2024-05-30 17:53:21 +02:00
parent fe3cdde424
commit 546391cb9c
2 changed files with 3 additions and 0 deletions

1
escpos-printer-db Submodule

Submodule escpos-printer-db added at 375135d552

View File

@@ -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.