Skip to content

some command are not working. #96

@JadooChoi312

Description

@JadooChoi312

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..

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions