Install Lexmark Printers (Ubuntu)

by Soddengecko @ 4:21   Linux / Unix | Tech   Permalink

This tutorial will guide you through installing Lexmark printers on Ubuntu. The tutorial was taken from the Ubuntu forums. I decided to post it here as it did not work exactly like it was supposed to for me and I had to modify the procedure.

I have ammended the tutorial to my needs and probably the needs of most and I have pointed out where it went wrong for me and how I solved it. It was not difficult to solve, but you will be required to be the ROOT user which is dangerous and destructive. Use at your own risk, I take NO responsibility for you damaging your system.

You will of course need to download the correct drivers for this, the Z600 driver. I have the correct link for the file as Lexmarks website is not the easiest to navigate around and find what you need.

The Z600 driver has been confirmed to work with the following printers:

Lexmark 5700 (black & white only)
Lexmark X1100
Lexmark X1110
Lexmark X1130
Lexmark X1140
Lexmark X1150
Lexmark X1180
Lexmark X1185
Lexmark Z513
Lexmark Z515
Lexmark Z715
Lexmark Z55
Lexmark Z615
Lexmark Z705
Lexmark Z605
Lexmark Z600
Lexmark Z25
Dell A920
Z65 (z65 driver)
Lexmark Z33 (z35 driver)
Lexmark Z33 (z35 driver)

First of all you need to download the correct driver to a folder of it’s own to save confusion.

Open a terminal window and type the following

sudo mkdir lexmark

This will create a folder called “lexmark” in your home directory.

Ok, again in your terminal window, type the following commands one after another, waiting for each command to execute first before starting the next one.

cd lexmark

wget http://www.downloaddelivery.com/srfilecache/CJLZ600LE-CUPS-1.0-1.TAR.gz

tar -xvzf CJLZ600LE-CUPS-1.0-1.TAR.gz

tail -n +143 z600cups-1.0-1.gz.sh > install.tar.gz

tar -xvzf install.tar.gz

sudo apt-get install alien

alien -t z600cups-1.0-1.i386.rpm

alien -t z600llpddk-2.0-1.i386.rpm

sudo tar xvzf z600llpddk-2.0.tgz -C /

sudo tar xvzf z600cups-1.0.tgz -C /

sudo ldconfig

cd /usr/share/cups/model

sudo gunzip Lexmark-Z600-lxz600cj-cups.ppd.gz

The driver is now installed. Restart the cups daemon:

sudo /etc/rc2.d/S19cupsys restart

Check to make sure the printer back-end works:

cd /usr/lib/cups/backend

./z600

The output of the above command should be similar to this:

direct z600:/dev/usb/lp0 “Lexmark Lexmark Z600 Series” “Lexmark Printer”

If you get no output, mount the usb filesystem. To do this type the following:

sudo gedit /etc/fstab

and add the following code to the end of the file

#USB Lexmark Printer
usbfs /proc/bus/usb usbfs devgid=14,devmode=0660 0 0

Save the file and close. Then just type the following in the terminal:

sudo mount usbfs

That should fix it.

Now simply set up your printer. Go to:

  • System
  • Administration
  • Printing

Make sure you select the z600 driver, and you’re done. Print out a test page to make sure it all works.

I hope this has helped you.

Comment posted by:
Jean Runnels

Posted on:
15-12-2006 @ 04:19:03

I want to install my all-in-one Printer Lexmark X1185

Comment posted by:
Soddengecko

Posted on:
15-12-2006 @ 19:41:41

If you read the instructions correctly you will notice a list of supported printers. The X1185 can be used if you install these drivers.

Follow the tutorial step by step and you will soon be up and running.

Comment posted by:
mwcmic

Posted on:
16-08-2007 @ 00:56:56

I’m new to linux but the instructions you provided worked great for me. I’m using kubuntu and my printer is X1155.
The last command didn’t work until I removed the dot from it “sudo mount usbfs.”

Thanks,
Mike

Comment posted by:
Soddengecko

Posted on:
18-10-2007 @ 02:14:27

Hi mwcmic

Thank you for spotting that. I have now updated the post to remove that little dot.

Many thanks

Comment posted by:
Haro

Posted on:
25-12-2007 @ 10:40:03

mmm… Dearest sirs (and Madam)
When I have typed the command

cd lexmark wget http://www.downloaddelivery.com/srfilecache/CJLZ600LE-CUPS-1.0-1.TAR.gz tar -xvzf CJLZ600LE-CUPS-1.0-1.TAR.gz tail -n +143 z600cups-1.0-1.gz.sh > install.tar.gz tar -xvzf install.tar.gz sudo apt-get install alien alien -t z600cups-1.0-1.i386.rpm alien -t z600llpddk-2.0-1.i386.rpm sudo tar xvzf z600llpddk-2.0.tgz sudo tar xvzf z600cups-1.0.tgz

I looked into my directory the file lexmark in the Home Folder, and I did not find anything in it.
What must I do??
Thanks

Comment posted by:
Haro

Posted on:
6-01-2008 @ 14:32:47

mmm… Soddengecko…
I cannot seem to find my usr folder after I type mkdir lexmark and opening the folder in home… please help me?

Comment posted by:
Alex

Posted on:
18-02-2008 @ 11:33:01

Wonderful job. I never saw a so easy-to-do … I just gave copy/paste. No other website offered that simple solution. An A for you. GREAT!

Comment posted by:
Joseph

Posted on:
19-02-2008 @ 05:13:46

I had to install libstdc++5 (I had libstdc++6 installed instead). With that, everything worked. Thanks!

Comment posted by:
Soddengecko

Posted on:
10-03-2008 @ 07:01:48

Hi Joseph

I left that out of the tutorial as the scope was a little advanced for what I intended.

Thank you for posting your comment and letting the others know what you had to do. I did not have to worry myself as I installed it for other reasons, but did and have come across it when setting this printer up for other people.

Comment posted by:
Soddengecko

Posted on:
10-03-2008 @ 07:04:53

@Haro

That command as you put it should be separate commands rather than one lump. If you follow the tutorial again from the beginning everything should work fine.

If you have any other issues just ask.

Comment posted by:
Minyie Diaz

Posted on:
21-03-2008 @ 00:37:49

Hi, thanks for the help, but unfortunately it doesn’t work for me, although i am trying to print over a network.

The printer just sets the page and and then nothing.

Comment posted by:
Soddengecko

Posted on:
21-03-2008 @ 17:29:26

@ Minyie

Sorry to hear you are having trouble. Unfortunately this tutorial is not as advanced as network printing. I have a set up for network printing using a very basic printer, but the All In One is somewhat difficult to get working.

I will post a tutorial on how to do it once I finish getting it working, but please don’t wait on me, it could be some time before I get round to actually changing over.

Comment posted by:
jakerman999

Posted on:
29-04-2008 @ 23:48:31

hello.
followed this tutorial, and i thought it was working until I gave it:
alien -t z600cups-1.0-1.i386.rpm

it just spits this back:
Cannot write to current directory. Try moving to /tmp and re-running alien.

does anyone know what to do in this scenario?

Comment posted by:
martinrnelson

Posted on:
28-05-2008 @ 23:48:31

Hi,

I’m installing a Lexmark X1150 on kubuntu 8.04. All the steps above seem to work (I get the correct output at the last step), but when I go to select the driver I get the error:

Wrong driver format.
/usr/lib/cups/backend/z600(line 1): syntax error, unexpected OPTION

I’m selecting this via System Settings > Printers > Admin Mode > Change Driver…

(also the manufacturer and model list are blank here, despite the printer itself being visible).

Any ideas?

Comment posted by:
Soddengecko

Posted on:
2-07-2008 @ 20:44:38

@Jakerman
Try switching to to the sudo accont. At the terminal prompt just type su and hit enter. Type your password in and run the instructions again

@martinrnelson
This tutorial was written for Ubuntu and not the KUbuntu version. I don’t use KUbuntu so not sure off the top of my head why this would cause a problem. I will try and grab some time to try and set this up under the KUbuntu version but please don’t hold your breath, I am snowed under at present and have not even posted here for a while.

Apologies to all for the late responses.

Comment posted by:
jakerman999

Posted on:
2-07-2008 @ 22:51:32

thanks, got it working. seems to be some colour issues, but that might be a dead cartridge.

@martinrnelson, I am also using kUbuntu. try looking through all the menu’s to find something, that is what I had to do.

also, my understanding is that the only difference between kUbuntu and Ubuntu is what software comes bundled, and the desktop environment(kde). not really a big programming change.

Comment posted by:
bilgisayar satis

Posted on:
25-08-2008 @ 12:42:46

Good job. Thanks so much.

Comment posted by:
I.Pereira

Posted on:
24-09-2008 @ 22:00:54

I have a Lexmark z33 to install on Ubuntu 8.04.
I follow your instructions and, until the comand “sudo apt-get install alien”, inclusive, all is ok. But..
The subsquent instructions does not work anymore.

Can you help me please.

Sorry the poor english

IPereira

Comment posted by:
Cecil Ennett

Posted on:
24-10-2008 @ 15:44:14

When do you download the driver? Before or after making a dir. My downloading doesn’t allow me to download to a file or folder. It just downloads to the “home”

Comment posted by:
Soddengecko

Posted on:
8-11-2008 @ 13:42:15

Apologies to all for the late reply, I have been away for a while.

@ I.Pereira
Can you provide me with any error messages you get so I can take a look at what is going on

@Cecil
The download should go into the lexmark folder you created. The command before you download the drivers asks you to switch to the lexmark folder and then run the wget command.

What happens when you try downloading the driver?

Comment posted by:
Raffa

Posted on:
12-11-2008 @ 16:23:13

This was the only tutorial that worked and helped me installing my printer. Thank you a lot!

Comment posted by:
bob

Posted on:
19-11-2008 @ 23:30:45

Thank you. Had to change z600 driver for a z35 one as the z600 driver is not compatible with the z25 printer, but it was plain sailing from there. By far the best and easiest to follow information on installing printers anywhere on the web.

Do you want to leave a reply?


XHTML: You can use these tags:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>



Contact