18.04 has no support for my printer
Brian
ad44 at cityscape.co.uk
Wed Oct 17 17:05:00 UTC 2018
On Wed 17 Oct 2018 at 17:14:33 +0200, Charles Irons wrote:
> Hi Brian
>
> Here are results of the tests you detailed:
> chas at Charles-PC:~$ lpadmin -p test -v
> hp:/usb/Deskjet_1510_series?serial=CN43B1D1DC05XJ -E -m
> /etc/cups/ppd/Deskjet-1510-series.ppd
> lpadmin: Unable to copy PPD file.
> chas at Charles-PC:~$ lpadmin -p test -v
> hp:/usb/Deskjet_1510_series?serial=CN43B1D1DC05XJ -E -m
> /etc/cups/ppd/Deskjet_1510_2.ppd
> lpadmin: Unable to copy PPD file.
Your -m directive is incorrect. Please reread the earlier posts. The
command you want is
lpadmin -p test -v hp:/usb/Deskjet_1510_series?serial=CN43B1D1DC05XJ -E -m drv:///hpcups.drv/hp-deskjet_1510_series.ppd
Check that the queue test has been established with 'lpstat -a'. If it
hasn't been (unlikely), add sudo before lpadmin.
sudo lpadmin......
> chas at Charles-PC:~$ lp -d test /etc/nsswitch.conf
This can be done as an ordinary user.
> request id is test-2550 (1 file(s))
> chas at Charles-PC:~$
>
> Print job is continuing. Code 1002.
> Deskjet-1510-series
>
> No movement on the printer at all.
The queue was not set up.
>
> chas at Charles-PC:~$ cupsfilter -p /etc/cups/test.ppd -m printer/foo -e
> /etc/nsswitch.conf > outfile 2>log
> Segmentation fault (core dumped)
> chas at Charles-PC:~$
No idea about why core was dumped. If done as an ordinary user, the
command will not work because cupsfilter is not in chas' path. (The
failure is beause of the faulty command I gave you). However, you
should have got "cupsfilter: command not found". Modify the command
to have
/usr/sbin/cupsfilter.......
> Ubuntu error by cupsfilter. I sent error report so lost the details.
> I repeated the command with same response but no Ubuntu error.
--
Brian.
More information about the ubuntu-users
mailing list