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:
1
escpos-printer-db
Submodule
1
escpos-printer-db
Submodule
Submodule escpos-printer-db added at 375135d552
@@ -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.
|
||||
|
Reference in New Issue
Block a user