-
Notifications
You must be signed in to change notification settings - Fork 168
New issue
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
An exception occurred with printer: invalid literal for int() with base 10: '//alprinter.xy.com' #157
Comments
Please provide the full stacktrace and full executable code - at least |
[02/Jul/2024 12:30:46] "GET /admin/store/mobile/ HTTP/1.1" 200 38187 Above is the full stacktrace and I updated the executable code. |
This is no stacktrace - this is your application log. You probably should have a look at the CLI help or code: https://github.com/pklaus/brother_ql/blob/master/brother_ql/backends/network.py You will see that a network-based setup expects either a hostname or IP address, optionally suffixed by a port and optionally prefixed by |
I understand that this way, HTTP(S), I can not access the brother printer. I am explaining the situation, maybe there is another way to access it. I am kindly asking you: |
I have never tried this and never used the network backend myself, but it should work in theory. You just have to ensure that you are not specifying the |
I have a printer accessed from cloudflared platform with alprinter.xy.com. I try to ping this url from my server and can reach it, even from request the status is 200.
Problem: when I try to send print instruction from my python code the above error in title is shown.
The code is as below:
Please tell me is this the wright way to send print instructions in this case?
It's urgent for me.
Thank you
The text was updated successfully, but these errors were encountered: