Skip to content
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

some command are not working. #96

Open
JadooChoi312 opened this issue Oct 5, 2024 · 0 comments
Open

some command are not working. #96

JadooChoi312 opened this issue Oct 5, 2024 · 0 comments

Comments

@JadooChoi312
Copy link

ip_address:/> display "Hello World!"
Setting printer's display message to "Hello World!"
ip_address:/> info status
CODE=10001
DISPLAY="Non HP supply in use"
ONLINE=TRUE
74.225.233.154:/>

and also

when i do print, the output only show H,

and also

ip_address:/> print
File or "text": "Hello World!"
Converting 'Hello World!' to pcl format
Cannot convert (b"convert-im6.q16: unable to open image Hello World!': No such file or directory @ error/blob.c/OpenBlob/2967.\nconvert-im6.q16: no decode delegate for this image format ' @ error/constitute.c/ReadImage/581.\nconvert-im6.q16: no images defined `pcl:-' @ error/convert.c/ConvertImageCommand/3234.\n")
Traceback (most recent call last):
File "/home/kali/PRET/printer.py", line 138, in onecmd
cmd.Cmd.onecmd(self, line)
File "/usr/local/lib/python3.10/cmd.py", line 217, in onecmd
return func(arg)
File "/home/kali/PRET/printer.py", line 817, in do_print
data = c.UEL.encode() + data + c.UEL.encode()
TypeError: can't concat NoneType to bytes
None
Program Error (can't concat NoneType to bytes)
ip_address:/>

i wish u can fix the problem..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant