Mint 19 Tara HP 1102W says driver failed [solved]
Posted by: pgmer6809 ()
Date: September 09, 2018 11:22PM

Hi:
I am not sure if this is a foo2zjs problem, a CUPS problem or a linux mint problem.
Under Ubuntu 18.04 and Mint 18.3 (based on an earlier Ubuntu) my P1102w works fine.
Under Mint19 (based on Ubuntu 18.04) I can discover and add the printer ok, but whenever I try to print a test page I get an error. Depending on whch method I use to define the printer (service discovery, direct ssocket) I can get a driver failed error.
I have DL'd the latest foo2zjs and followed the install instructions but that does not change things.

I notice in another post that you told the user to do a 'cat xxx /dev/usb/lp0'
after running the foo-wrapper. I have run the foo wrapper, but I am not sure how to cat to the printer when my only access to it is wireless.
Is cat xxx > <ip-addr>:9100 supposed to work?
Thanks
pgmer6809



Edited 1 time(s). Last edit at 09/10/2018 08:17PM by rickrich.

Re: Mint 19 Tara HP 1102W says driver failed
Posted by: rickrich ()
Date: September 10, 2018 12:22AM

Using a network:


$ cd foo2zjs

$ foo2zjs-wrapper -p letter -P -z2 -L0 testpage.ps > xxx.prn

OR

$ foo2zjs-wrapper -p a4 -P -z2 -L0 testpage.ps > xxx.prn

$ nc 192.168.1.15 9100 < xxx.prn
@PJL INFO STATUS
CODE=10209
DISPLAY=""
ONLINE=TRUE

@PJL USTATUS DEVICE
CODE=10023
DISPLAY=""
ONLINE=TRUE

@PJL USTATUS JOB
START
$

Reference: https://www.linuxtechi.com/nc-ncat-command-examples-linux-systems/



Edited 2 time(s). Last edit at 09/10/2018 12:29AM by rickrich.

Re: Mint 19 Tara HP 1102W says driver failed
Posted by: pgmer6809 ()
Date: September 10, 2018 07:06PM

Thanks for that.
I will try and let you know. But it definitely was not a foomatic problem because I just marked all the CUPS pkgs for re-install, and now everything works fine. All three methods of accessing the printer print a test page.
Regards,
ppgmer6809(Greg)

Re: Mint 19 Tara HP 1102W says driver failed
Posted by: pgmer6809 ()
Date: September 10, 2018 07:11PM

Here are the results of the nc cmd. As you might expect all worked OK. I got the REd Hat test page on the printer and this on my terminal. Thanks again....
-----------------------
@PJL INFO STATUS
CODE=10001
DISPLAY=""
ONLINE=TRUE

@PJL USTATUS DEVICE
CODE=10023
DISPLAY=""
ONLINE=TRUE

@PJL USTATUS JOB
START

@PJL USTATUS PAGE
1

@PJL USTATUS JOB
END
RESULT=OK
PAGES=1

@PJL USTATUS DEVICE
CODE=10001
DISPLAY=""
ONLINE=TRUE

Sorry, only registered users may post in this forum.
This forum powered by Phorum.