[sane-devel] Part 2 of: how to configure/scan with an Epson Xp-4100 printer/scanner

M. Fioretti mfioretti at nexaima.net
Thu Nov 5 18:51:44 GMT 2020


Hello all,

thanks to Thierry and Alexandre for their help. Thanks to them, I have
made progresses with the scanning part of my new Epson XP-4100, but it
still has some problems, and a step back too (as for my computer not
working

Executive summary:

- when I attached that printer to my Ubuntu 20.04 box, the printer was
  recognized immediately, and worked fine, the scanner not at all

- today I did what Thierry and Alexandre suggested. Now scanning works
  with imagescan, simple-scan and at the prompt with scanimage
  (haven't checked quality yet), but not with skanlite. Details below.

- but now... the printer part does not work anymore. I have installed
  the Epson driver from their website, removed and reinstalled the
  printer, but nothing gets printed. If I print a test page, CUPS says
  it was successfully printed, but nothing arrives to the printer, it
  does not even beep or complain. Does it have to do with updating /
  replacing libOT here, I guess, but any
  suggestion is obviously welcome.

Thanks,
Marco

COMMANDS and their output:

sudo add-apt-repository ppa:sane-project/sane-git
sudo apt-get update
sudo apt-get upgrade
sudo apt autoremove
sudo apt install libsane libsane-common sane-utils

download ipp-usb from https://download.opensuse.org/repositories/home:/pzz/xUbuntu_20.04/amd64/ipp-usb_0.9.14+45.1_amd64.deb

sudo dpkg -i ./ipp-usb_0.9.14+45.1_amd64.deb 

dpkg: regarding .../ipp-usb_0.9.14+45.1_amd64.deb containing ipp-usb:
 ipp-usb conflicts with ippusbxd
  ippusbxd (version 1.34-2ubuntu1) is present and installed.
...

sudo apt remove ippusbxd
sudo dpkg -i ./ipp-usb_0.9.14+45.1_amd64.deb 
reboot

SANE_DEBUG_ESCL=255 scanimage -T 2> toto.txt (attached at the bottom!)
sudo scanimage -L
[sudo] password for marco: 
device `imagescan:esci:usb:/sys/devices/pci0000:00/0000:00:12.2/usb1/1-6/1-6:1.0' is a EPSON XP-4100_Series

RESULTS of test scans with:
imagescan = OK
simple-scan = OK
skanlite = GUI complains about I18N_EXCESS_ARGUMENTS_SUPPLIED
in terminal, prints many lines like:
kf5.ki18n: "1 instead of 0 arguments to message { DPI} supplied before conversion."

and then ends, without scanning anything, saying:

sane_read= 2 = Operation was canceled

At that point, to make the printer work, I did:

download linux driver from epson website
sudo apt-get install lsb
sudo apt --fix-broken install
sudo dpkg -i aux/epson-inkjet-printer-escpr_1.7.8-1lsb3.2_amd64.deb 
reboot

This led to having two printers in the Ubuntu settings panel, and none
of them works. One is called CUPS-BRF printer, another
EPSON_XP_4100_SERIES_USB_, with the driver above. When I print a test
page, I get "printing completed", but the printer doesn't even beep.

Content of "toto.txt"

Output format is not set, using pnm as a default.
[17:09:56.164946] [sanei_debug] Setting debug level of escl to 255.
[17:09:56.165038] [escl] escl sane_init
[17:09:56.165133] [escl] escl sane_get_devices
scanimage: scanning image of size 637x877 pixels at 24 bits/pixel
scanimage: acquiring RGB frame, 8 bits/sample
scanimage: reading one scanline, 1911 bytes...	PASS
scanimage: reading one byte...		PASS
scanimage: stepped read, 2 bytes... 	PASS
scanimage: stepped read, 4 bytes... 	PASS
scanimage: stepped read, 8 bytes... 	PASS
scanimage: stepped read, 16 bytes... 	PASS
scanimage: stepped read, 32 bytes... 	PASS
scanimage: stepped read, 64 bytes... 	PASS
scanimage: stepped read, 128 bytes... 	PASS
scanimage: stepped read, 256 bytes... 	PASS
scanimage: stepped read, 512 bytes... 	PASS
scanimage: stepped read, 1024 bytes... 	PASS
scanimage: stepped read, 2048 bytes... 	PASS
scanimage: stepped read, 2047 bytes... 	PASS
scanimage: stepped read, 1023 bytes... 	PASS
scanimage: stepped read, 511 bytes... 	PASS
scanimage: stepped read, 255 bytes... 	PASS
scanimage: stepped read, 127 bytes... 	PASS
scanimage: stepped read, 63 bytes... 	PASS
scanimage: stepped read, 31 bytes... 	PASS
scanimage: stepped read, 15 bytes... 	PASS
scanimage: stepped read, 7 bytes... 	PASS
scanimage: stepped read, 3 bytes... 	PASS
[17:10:14.039923] [escl] escl sane_exit


-- 
M. Fioretti http://mfioretti.com                   http://stop.zona-m.net

Your own civil rights and the quality of your life heavily depend on how
software is used *around* you



More information about the sane-devel mailing list