#!/bin/bash tar -xvzf CJLZ600LE-CUPS-1.0-1.TAR.gz # extract the driver. tail -n +143 z600cups-1.0-1.gz.sh > install.tar.gz # the sh script is broken for newer systems. tar -xvzf install.tar.gz # extract the contents produced by tail alien --to-deb *.rpm # convert unusable rpm packages to deb. dpkg -i *.deb # install the debs ldconfig # refresh ubuntu to see the new libraries cd /usr/share/cups/model gunzip Lexmark-Z600-lxz600cj-cups.ppd.gz # unzip the ppd, which should _not_ be gzipped /etc/init.d/cupsys restart # The driver is now installed. Restart the cups daemon /usr/lib/cups/backend/z600