Ubuntu Forums ubuntu.com - launchpad.net - ubuntu help  

Go Back   Ubuntu Forums > The Ubuntu Forum Community > Other Community Discussions > Tutorials & Tips
Register Reset Password Forum Help Forum Council Search Today's Posts Mark Forums Read

Tutorials & Tips
The place to find Ubuntu related Tips & Tricks.

 
Thread Tools Display Modes
Old May 22nd, 2008   #381
jwkungfu
A Carafe of Ubuntu
 
Join Date: Jan 2008
Location: Mebourne, Australia
Beans: 106
Ubuntu 7.10 Gutsy Gibbon
Send a message via Yahoo to jwkungfu
Re: HOWTO: Lexmark Printers

Quote:
Originally Posted by black hole sun View Post
Hello everyone. This is a ubuntu-adopted version of the gentoo howto (which I originally wrote) http://gentoo-wiki.com/HOWTO_Lexmark_Printers

Printers that this howto covers (there are many, many others, but these are the printers that have been confirmed to work so far (also note that Dell's printers are merely rebranded Lexmarks):

With that said, let's get to it!

The driver we'll be using is the z600 one, which can be found here. Even if your printer isn't a z600 this driver works with a LOT of Lexmark's, so try this driver first.

Download the driver, save it to a desktop folder such as `lexmark` (I say _folder_ because extracting the driver is a messy process!).

Obviously, exclude the comments to the right of the hash (#) marks, I include them only to explain the commands.

Code:
$ mkdir lexmark
$ mv CJLZ600LE-CUPS-1.0-1.TAR.gz lexmark # move the package to a folder. optional, but recommended. 
$ tar -xvzf CJLZ600LE-CUPS-1.0-1.TAR.gz # extract the driver.
$ tail -n +143 z600cups-1.0-1.gz.sh > install.tar.gz # the sh script is broken for newer systems. use `tail` to extract the binary portion of the script.
$ tar -xvzf install.tar.gz # extract the contents produced by tail
$ alien -t z600cups-1.0-1.i386.rpm # convert unusable rpm packages to tgz.
$ alien -t z600llpddk-2.0-1.i386.rpm # convert unusable rpm packages to tgz.
$ sudo tar xvzf  z600llpddk-2.0.tgz -C / # extract the tgz's to / putting the files in their right place
$ sudo tar xvzf z600cups-1.0.tgz -C / # extract the tgz's to / putting the files in their right place
$ sudo ldconfig # DO NOT SKIP THIS STEP or your printer backend won't find required libraries
$ cd /usr/share/cups/model
$ sudo gunzip Lexmark-Z600-lxz600cj-cups.ppd.gz # unzip the ppd, which should _not_ be gzipped
The driver is now installed. Restart the cups daemon:
Code:
/etc/rc2.d/S19cupsys restart
Check whether the printer backend works;
Code:
$ cd /usr/lib/cups/backend
$ ./z600
The output of the above command should be _similar_ to this:
If you get no output, mount the usb filesystem.

Add this to your /etc/fstab file:

Code:
usbfs         /proc/bus/usb usbfs   devgid=14,devmode=0660 0 0
Then just type: sudo mount usbfs. That should fix it.

Now simply set up your printer through the System->Administration->Printing in gnome. Make sure you select the z600 driver, and you're golden.

For KDE users...well, you'll have to use whatever printer dialogue that KDE provides.

There you have it! If you need any help, post to this thread.

Hi there,
Here's my terminal result...

john@john-laptop:~$ mkdir lexmark
mkdir: cannot create directory `lexmark': File exists
john@john-laptop:~$ mv CJLZ600LE-CUPS-1.TAR.gz lexmark
mv: cannot stat `CJLZ600LE-CUPS-1.TAR.gz': No such file or directory
john@john-laptop:~$

jwkungfu is offline   Reply With Quote
Old May 22nd, 2008   #382
jjgomera
Way Too Much Ubuntu
 
jjgomera's Avatar
 
Join Date: Jul 2007
Location: Segura, Spain
Beans: 238
Send a message via MSN to jjgomera Send a message via Yahoo to jjgomera
Re: HOWTO: Lexmark Printers

Quote:
Originally Posted by jwkungfu View Post
john@john-laptop:~$ mkdir lexmark
mkdir: cannot create directory `lexmark': File exists
you have already a directory named "lexmark" in your home (/home/john/lexmark/

Quote:
Originally Posted by jwkungfu View Post
john@john-laptop:~$ mv CJLZ600LE-CUPS-1.TAR.gz lexmark
mv: cannot stat `CJLZ600LE-CUPS-1.TAR.gz': No such file or directory
where have you saved this file? with this command terminal thinks this archive is in your home (/home/john), but if it's in another site, mv can't find it, you have to write his complete path (for example, if the file is in the desktop, that command would mv /home/john/Desktop/CJLZ600LE-CUPS-1.TAR.gz lexmark)

Really that step can be done easier graphically in nautilus, simply create a new directory, and save the printer driver downloaded in it


do anyone use this tutorial with lexmark z33? i have no good result
__________________
mujeres y hombres de esta tierra
un otro mundo es posible
otro mundo diferente
justo si, y sin miedo de su gente
jjgomera is offline   Reply With Quote
Old May 22nd, 2008   #383
jwkungfu
A Carafe of Ubuntu
 
Join Date: Jan 2008
Location: Mebourne, Australia
Beans: 106
Ubuntu 7.10 Gutsy Gibbon
Send a message via Yahoo to jwkungfu
Re: HOWTO: Lexmark Printers

Many thanks,
It's getting late here, bedtime, I need my beauty sleep!
I will tackle this later, I've found some Wiki links that might work...?
jwkungfu is offline   Reply With Quote
Old May 23rd, 2008   #384
Jordanwb
Dipped in Ubuntu
 
Jordanwb's Avatar
 
Join Date: Apr 2007
Location: Ottawa, Canada
Beans: 581
Ubuntu Development Release
Send a message via MSN to Jordanwb
Re: HOWTO: Lexmark Printers

This how to worked for my Lexmark Z515 and my Z33 jwkungfu, so you don't need the wiki links. Also one thing the writer forgot is that you need to install libstdc++5
Jordanwb is offline   Reply With Quote
Old May 23rd, 2008   #385
Lenhix
First Cup of Ubuntu
 
Join Date: May 2008
Location: Bogotá, Colombia
Beans: 4
Re: HOWTO: Lexmark Printers

Well, I never had to install that libstdc++5. I don't know what I installed before or if Debian (yes, I use Debian) came with it, but I got absolutely no problems when using this HOWTO.
Anyway, I gotta admit the instructions can be a little confusing but have no major problems.
__________________
Mindwall, Power Metal Colombiano \m/
Love is the dance of eternity
Lenhix is offline   Reply With Quote
Old June 1st, 2008   #386
skarootz
First Cup of Ubuntu
 
Join Date: May 2008
Beans: 4
Re: HOWTO: Lexmark Printers

me sirvio , segui todos los pasos y listo,ahora mi lexmark 1195 esta funcionando, solo hay que tener en cuenta que en la ultima fase debemos navegar hasta donde se encuentra el archivo ppd.
skarootz is offline   Reply With Quote
Old June 4th, 2008   #387
jr_herman
5 Cups of Ubuntu
 
Join Date: Feb 2008
Location: Houston, Texas
Beans: 15
Ubuntu 8.04 Hardy Heron
Re: HOWTO: Lexmark Printers

Hello all,
My name is Herman and I'm a complete linux noob. "Hi Herman"

I have a LEXMARK X1185 and using the directions I can not get it to work. I am running Ubuntu 8.04. I DL'd the file to my deskstop.

1st Problem:
~$ mv CJLZ600LE-CUPS-1.0-1.TAR.gz lexmark
mv: cannot stat `CJLZ600LE-CUPS-1.0-1.TAR.gz': No such file or directory


So I manually moved the file to the lexmark folder created in 'home' directory.

2nd Problem:
~$ tar -xvzf CJLZ600LE-CUPS-1.0-1.TAR.gz
tar: CJLZ600LE-CUPS-1.0-1.TAR.gz: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error exit delayed from previous errors


So I manually extracted the file and a folder 'CJLZ600LE-CUPS-1.0-1' appeared.

3rd Problem:
~$ tail -n +143 z600cups-1.0-1.gz.sh
tail: cannot open `z600cups-1.0-1.gz.sh' for reading: No such file or directory


So I dont know what a 'tail' command is. When I manually open i get "gedit has not been able to detect the character coding.
Please check that you are not trying to open a binary file.
Select a character coding from the menu and try again."


I am completely lost can someone help.

Thanks a bunch.
jr_herman is offline   Reply With Quote
Old June 7th, 2008   #388
Vince4Amy
Dipped in Ubuntu
 
Vince4Amy's Avatar
 
Join Date: Aug 2007
Beans: 586
Re: HOWTO: Lexmark Printers

Is it possible at all to install this Driver on 64-bit or are there any alternatives?
Vince4Amy is offline   Reply With Quote
Old June 10th, 2008   #389
l.duesing
First Cup of Ubuntu
 
Join Date: Nov 2006
Beans: 4
Ubuntu 6.10 Edgy
Re: HOWTO: Lexmark Printers

About Lexmark X9575.
I had a call to Lexmark this day about that. They told me, the only driver for linux is the here described one. This driver doesn't work for it.
They said, Lexmark DOES NOT support linux because of the very fast changing linux printer subsystem. We should ask the community. After asking for protocol information, I was told, there are no protocol information because of trade secrets.
So far the calls.
Seems we are on our own. Bad luck. Any new information is apreciated.
l.duesing is offline   Reply With Quote
Old June 25th, 2008   #390
El1iP3S01D
First Cup of Ubuntu
 
El1iP3S01D's Avatar
 
Join Date: Mar 2008
Beans: 11
Smile Re: HOWTO: Lexmark Printers

Doogiekd, your suggestion was impecable; Because installing the driver was a breeze yet i my Debian ethc amd64 machine did not access my Lexmark x7350 All in One...Any suggesions as to how i can remedy the situation?
__________________
By the way, Ryoko my Turtle and Saleen s7 TT in Pistachio Green rule my world...:-0
El1iP3S01D is offline   Reply With Quote

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 12:32 AM.


vBulletin ©2000 - 2010, Jelsoft Enterprises Ltd. Ubuntu Logo, Ubuntu and Canonical © Canonical Ltd. Tango Icons © Tango Desktop Project. lingonberry