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: , , , , , , ,

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


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!


Install libstdc++5 in Synaptic Package Manager.

A simple fix for random freezing problem in Ubuntu 8.04 beta April 5, 2008

Posted by techscope in linux, ubuntu.
Tags: , , , , , , , , ,
1 comment so far

onestly, when such a grand OS would freeze randomly out of the blue with no definite pattern whatsoever (sometimes I could work for two hours before it happened, and sometimes it was just a matter of minutes), it could drive you crazy.

At first I thought it was because I am using AMD Althlon XP-M 2600+, which can scale CPU frequency. Forums suggest disabling the powernowd daemon which supposedly does not implement the frequency scaling effectlively. It did not solve the problem.

However, I just unplugged my usb mouse and went for using my laptop’s synaptics touchpad instead. That was a lucky guess, and I’ve never had a single lock-up in days anymore.

Working on a laptop that wouldn’t freeze is a feast, so if your system hangs for no reason, it might be a good idea to give this fix a try.

Let me know if that worked for you!