Difference between revisions of "Lexmark"

From ArchWiki
Jump to: navigation, search
m (Etc.)
m (Etc.)
Line 85: Line 85:
How to add scanner support?
How to add scanner support?
{{Note|Does scanning software need to be added first?  During scripting install a note describe that no Sane libraries were found}}
{{Note|Does scanning software need to be added first?  During scripting install a note described that no Sane libraries were found}}

Revision as of 13:56, 26 September 2010

This page's purpose is to inform Arch users how to set up various types of hardware produced by Lexmark. It'll be informal so please be add what you feel is necessary, argue a conclusion...


Lexmark does provide drivers for Linux systems with all their hardware and can be installed in two differing ways. The preferable is to create an Arch-based PKGBUILD so you can keep track, maintain... of what is installed; the other method is to use the automated script installer created by Lexmark.

Most packages here are part of the base install and the X windows system and are only kept for inclusiveness. Here is a list of known packages believed to be required:

lua  # for the automated installer
java # for the automated installer, and some of the Lexmark tools.


The drivers will need to be downloaded. Preferably, put together in an Arch Linux package and install via it. Here is a basic PKGBUILD that can do this that still needs work but will give an idea of what to do.

# Contributor: Todd Partridge (Gen2ly) toddrpartridge (at) yahoo

pkgdesc="Lexmark Z2300 and 2600 Series printer driver for cups"
depends=('cups' 'glibc' 'ncurses' 'libusb' 'libxext' 'libxtst' 'libxi' 'libstdc++5' 'heimdal' 'lua' 'java-runtime')
conflicts=('z600' 'cjlz35le-cups' 'cups-lexmark-700')

build() {

  # Check if installer if placed in the work directory and test it.
  cd $startdir
  if [ ! -f $_installer ]; then
    msg "!! The automated installer needs to be placed in work directory:"
    msg "!! $(pwd)" 
    msg "!! Visit http://lexmark.com/ and download the driver there." && return 1
    if [[ "$(md5sum $installer | awk '{print $1}')" == "$_instmd5" ]]; then
      msg "Check: Installer is the correct size"
      msg "!! The installer size check did not match.  Exiting." && return 1

  # Extract installer
  sh lexmark-inkjet-08-driver-1.0-1.i386.tar.gz.sh --target Installer-Files
  cd Installer-Files
  mkdir Driver
  tar xvvf instarchive_all --lzma -C Driver/
  cd Driver
  tar xv lexmark-inkjet-08-driver-1.0-1.i386.tar.gz -C $pkgdir

The driver will need to be downloaded. Just enter you basic model number on Lexmark's search and you should find your model. Keep in mind you can use the automated installer but doing this will leave it untracked. If you need to tell CUPS you PPD it is in: Template:Filename.


If the installer, or CUPS give messages about not being able to communicate with the printer or that the "USB device is not found" this is because it looks like the the driver is looking for the usblp kernel module. In this instance, un-blacklist the usblp (if isn't already), and use the cups-usblp found in the AUR.


For maintainance of your printer Lexmark has created a utility to help called lexijtools.

To uninstall an automated install:

sh /usr/local/lexmark/inkjet-08-driver.uninstall

Some junk will be left behind and can now be removed:

rm -R /usr/local/lexmark

How to add scanner support?

Note: Does scanning software need to be added first? During scripting install a note described that no Sane libraries were found