Friday, 13 July 2012

Lexmark X1190 with Ubuntu 11.10 (64 bits)

I have installed this printer for a number of Ubuntu distributions, and I always forget to write the details, so here they go:

Printer (mostly from http://blog.rachaelbond.com/lexmark/)
  1. With synaptic, install ia32-libs, libstdc++5:i386 and rpm
  2. Download  CJLZ600LE-CUPS-1.0-1.TAR.gz, for example from: software.rachaelbond.com/CJLZ600LE-CUPS-1.0-1.TAR.gz
  3. tar xzvf CJLZ600LE-CUPS-1.0-1.TAR.gz
  4. tail -n +143 z600cups-1.0-1.gz.sh > install.tar.gz
  5. tar xzvf install.tar.gz
  6. sudo rpm --force-debian -ivh z600cups-1.0-1.i386.rpm z600llpddk-2.0-1.i386.rpm --nodeps
  7. sudo service cups restart
  8. configure printer from the system settings with driver Lexmark-Z600

 Scanner

  1. I get rid of libsane and libsane-extras
  2. I follow more or less the instructions by Ashley Hooper at: https://bugs.launchpad.net/ubuntu/+source/xsane/+bug/774475
  3. Instead of the 386 packages, I install the amd64 ones: http://ftp.us.debian.org/debian/pool/main/s/sane-backends-extras/libsane-extras_1.0.21.2_amd64.deb and http://ftp.us.debian.org/debian/pool/main/s/sane-backends/libsane_1.0.21-9_amd64.deb
  4. In order to avoid upgrading these by mistake, I fix them:
    gksudo gedit /etc/apt/preferences.d/libsane
    Now paste the below contents into the file, save and exit.
    Package: libsane
    Pin: version 1.0.21-9
    Pin-Priority: 900
  5. I confirm it is working using the apt-cache policy command: $ apt-cache policy libsane
  6. Now either simple-scan or xsane work nicely with the scanner.