RUB-NDS / PRET

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

PRET.py Cannot convert (ImageMagick or Ghostscript missing) error #44

Open dpcxpert opened 3 years ago

dpcxpert commented 3 years ago

So i tried to print a pdf file on this printer i got into using pret.

I typed the print ./thedoc.pdf command then this error came up Cannot convert (ImageMagick or Ghostscript missing). I checked if I had ghostscript installed and apparently I did but the issue persists.

Any help or fix appreciated.

dpcxpert commented 3 years ago

Also this is an error after I installed GHostscript and imagemagick Cannot convert (convert-im6.q16: no images defined pcl:-' @ error/convert.c/ConvertImageCommand/3258.)

ghost commented 1 year ago

Also this is an error after I installed GHostscript and imagemagick 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