Thu 24 Mar 2011
It seems there is little documentation on how to setup Lexmark Pro900 printer driver in linux. Lexmark does provide linux driver, but it’s only for RPM or DEB based systems, without a manual installation option, which does not help much for installing to a Gentoo distribution.
After jumping through several hoops by reading the various scripts embedded in the install script and postinstall script in RPM, I finally managed to install it manually onto my Gentoo, and add the network printer to CUPS just fine. Test page shows up properly as well.
In order to save other gentoo users (and myself if I need to reinstall this driver), I spent sometime on writing a gentoo ebuild.
To use it, add my overlay first:
layman -f -o http://github.com/liucougar/portage/raw/master/profiles/layman.xml -a liucougar
keyword the package:
echo "net-print/lexmark-inkjet" >> /etc/portage/package.keywords
install it as root and restart cups
emerge net-print/lexmark-inkjet /etc/init.d/cups restart
go to the web UI of CUPS (make sure the printer is properly setup and accessible via network), and add a printer, now you should see lexmark in the add printer page.
I think this ebuild should support the following printers: Pro200-S500, Pro700, Pro800-Pro900, S300-S400, S600, X2600, X3646, X4900, X5666, X7600, Z2300, Z2400.
There are quite some extra features in the provided binary driver package: scanner support (sane, only locally connected via USB is supported as far as I can tell), firmware updater among other things. There are not yet supported by the ebuild.
DISCLAIM: I only tested with Pro900, so if it does work for you with other printers listed above, please leave a comment below.