Вы находитесь на странице: 1из 11

HOWTO: Lexmark Printers

http://ubuntuforums.org/showthread.php?t=49714

FAQ

Login with SSO

Forum
Quick Links
UsefulForum
Links

Activity Page

Please read before SSO login

Forum Community

Ubuntu Community

The Ubuntu Forum Community

Advanced Search
Social Media

Other Support

Other Discussion and Support

Tutorials

HOWTO: Lexmark Printers


Page 1 of 71 1 2 3 11 51 ...

Last

Results 1 to 10 of 702

Thread: HOWTO: Lexmark Printers


Like 3 people like this.

Thread Tools

Display
#1

July 17th, 2005

black hole sun


A Carafe of Ubuntu

Join Date:
Jan 2005
Beans:
82

HOWTO: Lexmark Printers


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 conrmed to work so far (also note that Dell's printers are merely rebranded Lexmarks):

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

1 de 11

29/05/15 14:17

HOWTO: Lexmark Printers

http://ubuntuforums.org/showthread.php?t=49714

Z65 (z65 driver)


Lexmark Z33 (z35 driver)
Lexmark Z33 (z35 driver)

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 rst.
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.
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
sudo tar xvzf z600cups-1.0.tgz -C / # extract the tgz's to / putting the files in their right pl
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:

direct z600:/dev/usb/lp0 "Lexmark Lexmark Z600 Series" "Lexmark Printer"

If you get no output, mount the usb lesystem.


Add this to your /etc/fstab le:

2 de 11

29/05/15 14:17

HOWTO: Lexmark Printers

http://ubuntuforums.org/showthread.php?t=49714

Code:

usbfs

/proc/bus/usb usbfs

devgid=14,devmode=0660 0 0

Then just type: sudo mount usbfs. That should x 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.
Last edited by black hole sun; April 6th, 2006 at 01:54 AM.

Adv Reply

#2

July 27th, 2005

michellembrodeur
Just Give Me the Beans!

Join Date:
Jun 2005
Beans:
48

Re: HOWTO: Lexmark Printers

Originally Posted by black hole sun

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 conrmed 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 rst.
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

3 de 11

29/05/15 14:17

HOWTO: Lexmark Printers

$
$
$
$
$
$
$
$
$
$
$

http://ubuntuforums.org/showthread.php?t=49714

mv CJLZ600LE-CUPS-1.0-1.TAR.gz lexmark # move the package to a folder. optional, but


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 newe
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
sudo tar xvzf z600cups-1.0.tgz -C / # extract the tgz's to / putting the files in the
sudo ldconfig # DO NOT SKIP THIS STEP or your printer backend won't find required lib
cd /usr/share/cups/model
sudo gunzip Lexmark-Z600-lxz600cj-cups.ppd.gz # unzip the ppd, which should _not_ be

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 at all,
you have problems.
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.

Thanks for trying though


I have a z35 and it didn't work. It initialized and move the paper but that was it.
also the last line
$ sudo gunzip Lexmark-Z600-lxz600cj-cups.ppd.gz # unzip the ppd, which should _not_ be gzipped
couldn't do because there was no .gz at the end
but z600 showed up in the folder where it was supposed to be
and the test came out ok with
"direct z600:/dev/usb/lp0 "Lexmark Inkjet color printer" "Lexmark Printer""
but no luck on my end.
thanks anyway.

4 de 11

29/05/15 14:17

HOWTO: Lexmark Printers

http://ubuntuforums.org/showthread.php?t=49714

Adv Reply

#3

July 29th, 2005

black hole sun


A Carafe of Ubuntu

Join Date:
Jan 2005
Beans:
82

Re: HOWTO: Lexmark Printers

Originally Posted by michellembrodeur

Thanks for trying though


I have a z35 and it didn't work. It initialized and move the paper but that was it.
also the last line
$ sudo gunzip Lexmark-Z600-lxz600cj-cups.ppd.gz # unzip the ppd, which should _not_ be
gzipped
couldn't do because there was no .gz at the end
but z600 showed up in the folder where it was supposed to be
and the test came out ok with
"direct z600:/dev/usb/lp0 "Lexmark Inkjet color printer" "Lexmark Printer""
but no luck on my end.
thanks anyway.

Did you try the z600 or z35 driver? Your printer should be able to work!

Adv Reply

#4

July 29th, 2005

newage
First Cup of Ubuntu

Join Date:
Jun 2005
Location:
Latvia
Beans:
6

Re: HOWTO: Lexmark Printers

5 de 11

29/05/15 14:17

HOWTO: Lexmark Printers

http://ubuntuforums.org/showthread.php?t=49714

thanks dude!! i have lexmark z615 and it really helped me!!! thanks a lot again

Adv Reply

#5

July 30th, 2005

Join Date:
Apr 2005

Spudgun
A Carafe of Ubuntu

Location:
Wales, UK
Beans:
113

Re: HOWTO: Lexmark Printers


Hmm, I can't select another driver to use in the Gnome printer tool, anyone know why this is?
Thanks in advance.

Adv Reply

#6

July 30th, 2005

black hole sun


A Carafe of Ubuntu

Join Date:
Jan 2005
Beans:
82

Re: HOWTO: Lexmark Printers

Originally Posted by Spudgun

Hmm, I can't select another driver to use in the Gnome printer tool, anyone know why this
is?
Thanks in advance.

What do you mean by "another driver"? You mean the lexmark one?
Have you re-started CUPS?

Adv Reply

6 de 11

29/05/15 14:17

HOWTO: Lexmark Printers

http://ubuntuforums.org/showthread.php?t=49714

#7

July 30th, 2005

michellembrodeur
Just Give Me the Beans!

Join Date:
Jun 2005
Beans:
48

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
http://downloads.lexmark.com/cgi-per...e=&leID=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 les 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 les, since Xandros should not use rpms
unless absolutely necessary.
# cd lextemp
# alien -t *.rpm

Next, we will use the tar command to extract the les to their proper place.
# tar -zxf lexmarkz35-CUPS-2.0.tgz -C /
# tar -zxf z35llpddk-2.0.tgz -C /

7 de 11

29/05/15 14:17

HOWTO: Lexmark Printers

http://ubuntuforums.org/showthread.php?t=49714

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 nished!
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 nd 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
--------------------------------------Do not thank me. someone else came up with it.
Something to remember, you need both b&W and colour catridages. I have only colour and it will not
print black. But windows can use the colour to make black, but not linux. someday hope that willb e
xed.
Last edited by michellembrodeur; July 31st, 2005 at 12:08 AM.

Adv Reply

#8

8 de 11

29/05/15 14:17

HOWTO: Lexmark Printers

http://ubuntuforums.org/showthread.php?t=49714

August 2nd, 2005


Join Date:
May 2005

jerrybme
5 Cups of Ubuntu

Beans:
30

Re: HOWTO: Lexmark Printers


@black hole sun
Your How-to worked ne for me, I get the following output at your last step:
Code:

jerry@Tuxbox:/usr/lib/cups/backend$ ./z600
direct z600:/dev/usb/lp0 "Lexmark Lexmark 510 Series" "Lexmark Printer"
jerry@Tuxbox:/usr/lib/cups/backend$

I use the gnome utility to congure the printer & chose the Z600 driver but when I send a test page to
my Lexmark Z515, nothing happens
The gnome utility doesn't show any pending jobs. I'm at a loss.
Any suggestions? Also don't think it'd make a dierence but I'm running the 64 bit Hoary version

Adv Reply

#9

August 3rd, 2005

black hole sun


A Carafe of Ubuntu

Join Date:
Jan 2005
Beans:
82

Re: HOWTO: Lexmark Printers

Originally Posted by jerrybme

@black hole sun


Your How-to worked ne for me, I get the following output at your last step:
Code:

jerry@Tuxbox:/usr/lib/cups/backend$ ./z600
direct z600:/dev/usb/lp0 "Lexmark Lexmark 510 Series" "Lexmark Printer"
jerry@Tuxbox:/usr/lib/cups/backend$

9 de 11

29/05/15 14:17

HOWTO: Lexmark Printers

http://ubuntuforums.org/showthread.php?t=49714

I use the gnome utility to congure the printer & chose the Z600 driver but when I send a
test page to my Lexmark Z515, nothing happens
The gnome utility doesn't show any pending jobs. I'm at a loss.
Any suggestions? Also don't think it'd make a dierence but I'm running the 64 bit Hoary
version

I have no idea why it's not working for you. It might be due to your 64 bit environment but i doubt
that...
When you typed in the printer location did you put in /dev/usb/lp0? I am not in gnome at the moment
and i cant quite remember what i did to get my printer working but i remember having to manually
enter a /dev/ location for my printer; perhaps you didnt do that?
Also make sure you have ghostscript installed (search for in synaptic)

Adv Reply

#10

August 12th, 2005

Join Date:
May 2005

jerrybme
5 Cups of Ubuntu

Beans:
30

Re: HOWTO: Lexmark Printers


Well, it turned out to be a 64 bit library linkage problem. I created a 32 bit chroot and the printer
driver works ne. I'll puzzle it out at a later time. Now I don't have to boot into windows to print

Adv Reply

Page 1 of 71 1 2 3 11 51 ...
Quick Navigation

Last

Tutorials

Top

Previous Thread | Next Thread

Bookmarks
Digg
del.icio.us

10 de 11

Posting Permissions
You may not post new
threads

BB code is On
Smilies are On

29/05/15 14:17

HOWTO: Lexmark Printers


StumbleUpon
Google

http://ubuntuforums.org/showthread.php?t=49714
You may not post replies
You may not post
attachments
You may not edit your posts

[IMG] code is On
[VIDEO] code is O
HTML code is O
Ubuntu Forums
Code of Conduct

Ubuntu Forums Archive Top

-- Ubuntu vB4.x

All times are GMT +1. The time now is 06:36 PM.
vBulletin 2000 - 2015, Jelsoft Enterprises Ltd. Ubuntu Logo, Ubuntu and Canonical Canonical Ltd. Tango Icons Tango Desktop
Project.
User contributions on this site are licensed under the Creative Commons Attribution Share Alike 4.0 International License. For details
and our forum data attribution, retention and privacy policy, see here

11 de 11

29/05/15 14:17

Вам также может понравиться