We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
import zpl l = zpl.Label(20,32) l.origin(8,2) l.barcode('Q', 'https://github.com/cod3monk/zpl/', magnification=7) l.endorigin() zp=zpl.TCPPrinter("<snip>") zp.send_job(l)
zp.send_job(l) causes exception:
zp.send_job(l)
Traceback (most recent call last): File "<console>", line 1, in <module> File "<snip>\Python\3.11.0\Lib\site-packages\zpl\printer.py", line 244, in send_job log.exception('exception') ^^^^^^^^^^^^^^^ TypeError: Logger.exception() missing 1 required positional argument: 'msg'
zp.send_job(l.dumpZPL()) works fine.
zp.send_job(l.dumpZPL())
After the exception occurs you must re-instantiate zp to use socket again.
zp
The text was updated successfully, but these errors were encountered:
https://github.com/cod3monk/zpl/issues/39
15d9626
No branches or pull requests
zp.send_job(l)
causes exception:zp.send_job(l.dumpZPL())
works fine.After the exception occurs you must re-instantiate
zp
to use socket again.The text was updated successfully, but these errors were encountered: