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:
@@ -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",
|
||||
]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user