Ubuntu 20.04 misses printer, and correct monitor resolution

Brian ad44 at cityscape.co.uk
Thu Aug 6 10:13:47 UTC 2020


On Thu 06 Aug 2020 at 06:51:37 +0200, M. Fioretti wrote:

> On Wed, Aug 05, 2020 20:09:37 PM +0100, Brian wrote:
> 
> > Scanning works. Let's see why. Give the output of
> > 
> >   scanimage -L
> > ...
> > The printer is detected. May we see what *you* see in the CUPS web panel
> > and in the Ubuntu settings panel. I am after the queue name(s).
> > 
> > The outputs of
> > 
> >   lpstat -a
> > 
> >   lpstat -l -e
> > 
> >   systemctl list-units "ippusbxd*" | grep service
> > 
> > would be useful
> >
> 
> Hi Brian, and thanks for these questions. The printer name is
> XP-302-303-305-306 bot h in Ubuntu Settings Printers tab, and in CUPS,
> with driver...
> 
> Driver:	Generic ESC/P Dot Matrix Printer Foomatic/epson (recommended) (color)

This PPD (driver) is unsuitable. It is difficult to believe that you
have a dot matrix printer.

> Connection:	usb://EPSON/XP-302%20303%20305%20306%20Series?serial=514A41503030383571&interface=1

This is the URI. It is where print jobs are sent. It is important and
you will need it later on.
 
> These are the outputs of the commands you requested:
> 
> #> scanimage -L
> device `epson2:libusb:001:007' is a Epson PID 0898 flatbed scanner
> #> scanimage -L
> device `epson2:libusb:001:007' is a Epson PID 0898 flatbed scanner

This is ok.

> #> lpstat -a
> XP-302-303-305-306 accepting requests since mer 5 ago 2020, 06:35:15
> #> lpstat -l -e
> XP-302-303-305-306 permanent ipp://localhost/printers/XP-302-303-305-306 usb://EPSON/XP-302%20303%20305%20306%20Series?serial=514A41503030383571&interface=1

Both outputs ok. But printing to XP-302-303-305-306 will fail because
an incorrect PPD has been used.

> #> systemctl list-units "ippusbxd*" | grep service

Ubuntu 20.04 installs ippusbxd and will start it when a printer that
understands the IPP-over-USB protocol is plugged in. Your daemon has
not started. It looks like the printer does not support IPP-over-USB.
Nothing to worry about.

Install printer-driver-escpr and do

  lpinfo -m | grep XP-302_303

This gives you a PPD. Substitute for the URI and PPD in

  lpadmin -p xp305 -v URI -E -m PPD

and test printing with

  lp -d xp305 /etc/nsswitch.conf

Cheers,

Brian.




More information about the ubuntu-users mailing list