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.

Fixing NetBeans install problem in Ubuntu Hardy April 16, 2008

Posted by techscope in linux, tutorials, ubuntu.
Tags: , , , , , , ,
add a comment

Since I dumped Borland JavaBuilder 2 years ago, NetBeans has surely been my favourite for Java development.

After installing the NetBeans IDE through (Applications->Add/Remove) on a fresh 8.04, I ran into an interesting problem. The IDE would start sort of normally, but at the module loading stage you would be presented a message that the system is running with JRE instead of JDK, so expect some loss of functionality.

Surely, we can notice the loss of functionality straight away, the code and project browser do not work at all.

I thought that simply installing the open-jdk package from repositories would fix NetBeans, but I was wrong. Even after specifying the path to the newly installed open JDK in Tools->Java Platforms, the IDE would not update its paths by itself.

The trick that worked for me was to BEFORE re-installing NetBeans go to /home/your_user_name folder and DELETE the hidden .netbeans directory (it is necessary, because the IDE settings are stored there, and this directory is not deleted by default even if you uninstall NetBeans).

Now, you can enjoy programming again 😉

Import Outlook mail to Thunderbird on Linux: how-to April 11, 2008

Posted by techscope in communication, linux, tutorials, windows.
Tags: , , , , ,
add a comment

I update this article to reflect the recent changes to Thunderbird.

In the past, the only, and somewhat tricky, way to migrate your Outlook mail to Thunderbird would have been to:

1) Import your Outlook .pst folder into OutlookExpress on Windows.
2) On Windows install Thunderbird.
3) Thunderbird for Windows has got an import Mail from OutlookExpress wizard. Do it.
4) Get the imported Thunderbird folders from Windows to your Linux counterpart.

But now it is the thing of the past:

I am excited to have just found out that the new version of Thunderbird ( on Windows has got a beautiful Outlook mail import wizard. A welcome development!

However, the only inconvenience I experienced was, I was unable to import a .pst file without Outlook already being installed on the machine.

It would be much better to bypass Outlook check altogether (say, I’ve got a .pst file backup only). We are yet to see if it’ll become possible in the future.