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

add wrapper that thros RuntimeError if not importable for pycups

This commit is contained in:
Patrick Kanzler
2023-08-17 00:18:30 +02:00
parent 1a2273a5b3
commit 33329867d2
3 changed files with 134 additions and 111 deletions

View File

@@ -2,7 +2,7 @@
"""printer implementations."""
# from .win32raw import Win32Raw
# from .cups import CupsPrinter
from .cups import CupsPrinter
from .dummy import Dummy
from .file import File
from .lp import LP
@@ -17,7 +17,7 @@ __all__ = [
"Serial",
"LP",
"Dummy",
# "CupsPrinter",
"CupsPrinter",
# "Win32Raw",
]