1
0
mirror of https://github.com/python-escpos/python-escpos synced 2025-12-02 09:43:30 +00:00

split off printer implementations into separate files

This commit is contained in:
Patrick Kanzler
2023-08-16 23:46:20 +02:00
parent f168c73dc8
commit 4b55546a99
12 changed files with 738 additions and 633 deletions

View File

@@ -0,0 +1,25 @@
# -*- coding: utf-8 -*-
"""printer implementations."""
from .lp import LP
from .dummy import Dummy
from .file import File
from .network import Network
from .serial import Serial
# from .win32raw import Win32Raw
from .cups import CupsPrinter
from .usb import Usb
__all__ = [
"Usb",
"File",
"Network",
"Serial",
"LP",
"Dummy",
"CupsPrinter",
]
# TODO check which printers are importable and add only those to the namespace