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

Convert-im6.q16: no images defined `pcl:-' #30

Open Astrol99 opened 5 years ago

Astrol99 commented 5 years ago

Full Error:

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

I am using PRET on a Windows Ubuntu Subsystem and found that whenever I try to use the print command, type in "asd" as a test, it would return this error in all modes (ps, pjl, pcl).

My printer model is: HP ENVY 4500 e-All-in-One Printer Series

Any help would be appreciated! 😀

justandroid49 commented 5 years ago

Have you found a fix for this issue? I am getting the same error.

Astrol99 commented 5 years ago

Unfortunately no. The issue is still persistent

Anton19780301 commented 4 years ago

Have you found a fix for this issue?

ghost commented 4 years ago

same error

RadArcTan commented 4 years ago

Is anyone actively maintaining PRET? Any interest in a collaborative effort to make a PRET-ng?

On Sat, Dec 7, 2019, 12:55 PM trinxor notifications@github.com wrote:

same error

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/RUB-NDS/PRET/issues/30?email_source=notifications&email_token=AH4NUZ3X74F6U24DA7JUPLLQXP5RXA5CNFSM4HENKGX2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEGGOFLA#issuecomment-562881196, or unsubscribe https://github.com/notifications/unsubscribe-auth/AH4NUZYHP3PZI2TAN57AASTQXP5RXANCNFSM4HENKGXQ .

d1pakda5 commented 4 years ago

@Astrol99 @trincoder @justandroid49 You are giving wrong syntax for the command print

If you want to print some text user this command : print "YOUR TEXT HERE" If you want to print a pdf file place the file in same directory and use command : print ./file.pdf

check the screenshot - https://imgur.com/So2sFRg.png

d1pakda5 commented 4 years ago

Have you found a fix for this issue? I am getting the same error.

You are giving wrong syntax for the command print

If you want to print some text user this command : print "YOUR TEXT HERE" If you want to print a pdf file place the file in same directory and use command : print ./file.pdf

check the screenshot - https://imgur.com/So2sFRg.png

d1pakda5 commented 4 years ago

Full Error:

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

I am using PRET on a Windows Ubuntu Subsystem and found that whenever I try to use the print command, type in "asd" as a test, it would return this error in all modes (ps, pjl, pcl).

My printer model is: HP ENVY 4500 e-All-in-One Printer Series

Any help would be appreciated! grinning

You are giving wrong syntax for the command print

If you want to print some text user this command : print "YOUR TEXT HERE" If you want to print a pdf file place the file in same directory and use command : print ./file.pdf

check the screenshot - https://imgur.com/So2sFRg.png

ghost commented 1 year ago

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 (and yes, to print a document you have to move it to the PRET folder and write to the console print ./YOURPDFFILE.pdf)

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