RUB-NDS / PRET

Printer Exploitation Toolkit - The tool that made dumpster diving obsolete.
http://hacking-printers.net
GNU General Public License v2.0
3.88k stars 607 forks source link

does not print #37

Open vreabernardo opened 4 years ago

vreabernardo commented 4 years ago

after puting the file or text it gives this error

Cannot convert (convert-im6.q16: no images defined `pcl:-' @ error/convert.c/ConvertImageCommand/3258.)

FedericoCoppola97 commented 4 years ago

I have the same issue. How can I fix?

ProgrammingJohn commented 2 years ago

I have the same issue when entering a path to a .ps file or one of the template files it errors. telling me it could not concatenate byte to str. I messed around and was only able to get the printer to print a string of the postscript.

ghost commented 2 years ago

I have the same issue when entering a path to a .ps file or one of the template files it errors. telling me it could not concatenate byte to str. I messed around and was only able to get the printer to print a string of the postscript.

I have the same issue. How can I fix?

after puting the file or text it gives this error

Cannot convert (convert-im6.q16: no images defined `pcl:-' @ error/convert.c/ConvertImageCommand/3258.)

solution for Cannot convert (convert-im6.q16: no images defined pcl:-' @ error/convert.c/ConvertImageCommand/3258.): https://askubuntu.com/questions/1181762/imagemagickconvert-im6-q16-no-images-defined

Then you edit the script that will send commands in the language of your printer (pjl.py, pcl.py or postscript.py) Add this: import sys reload(sys) sys.setdefaultencoding('iso-8859-1') i hope this helps you