Setup Lexmark z23-z35 (2x and 3x series printers) on Ubuntu (Breezy Badger 5.10)

(Lexmark Z34 on ubuntu)

Finally, at the and of a great struggle with the printer I have the solution… If I knew the “tail”…

First of all you have to have alien (which converts .rpm files to .deb) and libstdc++5. If you have them then pass to the next step. If you don’t then type these:

sudo apt-get install alien
sudo apt-get install libstdc++5

Next Step:

First of all you have to download the driver:

From here:
cjlz35le-cups-2.0-1.tar.gz

Or here (official lexmark site):
CJLZ35LE-CUPS-2.0-1.TAR.GZ

Let’s start to set up our f**king Lexmark Z2x-Z3x (Z34 is Mine)

tar -xvzf CJLZ35LE-CUPS-2.0-1.TAR.GZ
tail -n +143 lexmarkz35-CUPS-2.0-1.gz.sh > install.tar.gz
tar -xvzf install.tar.gz
sudo alien --to-deb *.rpmdpkg -i *.deb
sudo ldconfigcd /usr/share/cups/modelsudo
gunzip Lexmark-Z35-lxz35cj-cups.ppd.gz
sudo /etc/init.d/cupsys restart

(Explanation:
1st com: unpack the archive
2nd com: the .sh script is broken in for breezy
3rd com: unpacking of archive which was produced by “tail” command
4th com: converting the .rpm files to the .deb files
5th com: we have to refresh our system for recognition of lexmark libraries
6th com: change directory to cups (c-ommon u-nix p-rinting s-ystem) our printer is lying here
7th com: unpacking the ppd file (which is “the” driver)
8th com: we have to restart cups

After these steps, we should check if printer was set up properly:

/usr/lib/cups/backend/z35

You should see an output like this:

direct z35:/dev/usb/lp0 "Lexmark Inkjet color printer" "Lexmark Printer"

If does not then change the usb port of printer and repeat the procedure.

If there is no problem then you can simply activate your printer from Ubuntu’s printing menu:
System>>>Administration>>>Printing

You should see something like this:

Press next & choose Lexmark from manufacturer Menu. You should see the driver “Z35 V2.0-1″ and choose it

Finally Press “Apply”
That’s all fellas.
Happy Printings….

Filled under English, Linux.

Tags: ,

Your Ad Here