All pastes #90374 Raw Edit

Unnamed

public text v1 · immutable
#90374 ·published 2006-07-17 16:55 UTC
rendered paste body
#!/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
sudo alien --to-deb *.rpm # convert unusable rpm packages to deb.
dpkg -i *.deb # install the debs
sudo ldconfig # refresh ubuntu to see the new libraries
cd /usr/share/cups/model
sudo gunzip Lexmark-Z600-lxz600cj-cups.ppd.gz # unzip the ppd, which should _not_ be gzipped
sudo /etc/init.d/cupsys restart # The driver is now installed. Restart the cups daemon
/usr/lib/cups/backend/z600