jump to navigation

How to install Lexmark z24 z25 z35 printer in Ubuntu 8.04 May 9, 2008

Posted by techscope in linux, tutorials, ubuntu.
Tags: , , , , , , ,
7 comments

Lexmark z24 printer (also applies to z25 and z35) works like a charm on Ubuntu Hardy Heron after these two steps (note, if you do not implement STEP TWO, it will complain of missing dependencies):
========
STEP ONE – Follow the tutorial below:
(an extract from http://ubuntuforums.org/showthread.php?t=49714, post by michellembrodeur)

Re: HOWTO: Lexmark Printers
I found this for the z35 somewhere else on these forums.

it work no problem for a Z35

OK, this will take some skill on your part, but it can be done.

First, log in as root and download the drivers from

http://downloads.lexmark.com/cgi-perl/downloads.cgi?ccs=229:1:0:337:0:0&emeaframe=&fileID=1242

Make a directory and put the Lexmark driver in it… Let’s assume we named it LEX, and that folder is sitting in /root OK? (in all of the commands, you do not type the # key, this is just to signify the prompt)

OK, so we have moved the driver into the folder now, and we will go into the folder by opening a command prompt and typing:

# cd /root/LEX

We will now extract the archive by typing the following command:

# tar -xzvf CJLZ35LE-CUPS-2.0-1.TAR.GZ

This now leaves us with a shell script rpm installer called lexmarkz35-CUPS-2.0-1.gz.sh… not very useful to a Debian distribution like Xandros, so now comes the fun part…We will make another directory now, and extract the files into it…

# mkdir lextemp

# tail -n +143 lexmarkz35-CUPS-2.0-1.gz.sh | gzip -cd | tar xvf – -C lextemp

Now we will enter the lextemp directory and convert the rpm files, since Xandros should not use rpms unless absolutely necessary.

# cd lextemp

# alien -t *.rpm

Next, we will use the tar command to extract the files to their proper place.

# tar -zxf lexmarkz35-CUPS-2.0.tgz -C /

# tar -zxf z35llpddk-2.0.tgz -C /

Now for some editing… type the following commands in the order shown below..

# cd /usr/local/z35llpddk/utility

# ln -s auckUS.lut bnsi1.lut

# cd /usr/lib

# ln -s liblexz35core.so.0.0.0 liblexz35core.so.0

# ln -s liblexz35printer.so.0.0.0 liblexz35printer.so.0

# ln -s liblexz35printjob.so.0.0.0 liblexz35printjob.so.0

Now to test and see if the driver is working…

# /usr/lib/cups/backend/z35

Output should not error out, and give an output similar to this…

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

OK, if all is well, we allign the print heads by typing;

# /usr/lib/cups/backend/z35 utilities

Now that the heads are aligned, we can select the printer in the control center by following Launch > Control Center. Once in there in the Periphrial devices section there chould be a setting called printers… highlight printers and then go to add >local printer > Lexmark inkjet color printer and now under the model number one should see an entry for Z35 v 2.0-1… Select that, and then do your test page… Congrats, You’re finished!

================
STEP TWO:

Install libstdc++5 in Synaptic Package Manager.

Advertisements