Open testentry opened 3 years ago
Can confirm that this is true. My HP Envy accepts ps print, but for all other commands, it prints out "%! /print {(%stdout) (w) file dup 3 2 roll writestring flushfile} def /== {128 str". This is the value stored in PS_IOHACK in the helper.py file, but I don't know why it prints this.
The Envy -- like most inkjets -- does not support PostScript, therefore talking in "ps" mode with the device will not work (instead, each PostScript command sent by PRET to the device is interpreted as plain text "to be printed").
The Envy -- like most inkjets -- does not support PostScript, therefore talking in "ps" mode with the device will not work (instead, each PostScript command sent by PRET to the device is interpreted as plain text "to be printed").
hello I send this massage well after your post but I would like to know if it is possible with another language to use these commands and can you do it with PRET?
dont use { } around the ip
I tried to connect to my printer by writing: python pret.py {192.168.1.27} pjl and no luck
I tried all languages and it keep outputting the same result
I have a HP ENVY 4500 series
and this is a nmap scan I did on my printer
![scan](https://user-images.githubusercontent.com/74038986/104137751-69ad6500-535c-11eb-9924-3221365a6312.PNG)