mirror of
https://github.com/python-escpos/python-escpos
synced 2025-09-13 09:09:58 +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
|
for name in barcode.PROVIDED_BARCODES
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Alignment = Union[Literal["center", "left", "right"], str]
|
||||||
|
|
||||||
|
|
||||||
class Escpos(object, metaclass=ABCMeta):
|
class Escpos(object, metaclass=ABCMeta):
|
||||||
"""ESC/POS Printer object.
|
"""ESC/POS Printer object.
|
||||||
|
Reference in New Issue
Block a user