All pastes #189781 Raw Edit

Lexmark_Z25-Z35

public text v1 · immutable
#189781 ·published 2006-10-03 13:00 UTC
rendered paste body
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

or use xarchiver, keeping the file structure.


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!

Hopefully Xandros will eventually make a Debian installer for this driver, but until then this works pretty well... Best of Luck, and hope this helps..

the howto worked really find under hoary.
only problem i have is that i am able to print the testpages with the utility software, but when i add the printer via cups to use it with other applications nothing will happen.

perhaps someone can help me