openSUSE Forums > Hardware » Lexmark z517 z600 z510 printer howto

Go Back   openSUSE Forums > Hardware
Forums FAQ Members List Search Today's Posts Mark Forums Read


Hardware Questions about drivers, peripheral cabling, configuration

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 31-Oct-2009, 13:16
Puzzled Penguin
 
Join Date: Oct 2009
Posts: 3
petipe hasn't been rated much yet
Default Lexmark z517 z600 z510 printer howto

Hi!
I'm a new opensuse user, and I've got a lexmark z517 colour printer, that works correctly on my ubuntu, but it was a tough job to make it work on opensuse, because of the rarely support of this printer, but I found some howto-s, and with a little correction, I managed to install the driver, I share my solution to help people with this printer. This is it:
How to install Lexmark Z517 printer on openSuse 11.1


The driver for lexmark z600 should be good for z517 also, so I searched for driver for z600.
I found a little manual at The Lexmark Z605 printer and SuSE 9.3, a little HOWTO, but it didn't work with my system. So we need a little makeup.
Before you enter the method, you should install libstdc++ from the package manager, because the printer driver will miss it.

Then you can start it:


Download the rpm2targz utility to your home directory, open a console and unpack it:

bunzip2 rpm2targz.tar.bz2

- Install it as root:

su
cd rpm2targz
./install
(maybe you get some errors, but don't mind it)

- Download the Lexmark Z600 driver in for example a lexmark directory in your home folder.
- cd into your lexmark folder
- su to root and unpack the driver package:

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

- Extract the actual driver:

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

- Untar install.tar.gz you just created:

tar -xvzf install.tar.gz

- Convert the RPM's you just created to tarballs:

rpm2targz *.rpm

- Untar the two tarballs:

tar -xvzf z600cups-1.0-1.i386.tar.gz -C /
tar -xvzf z600llpddk-2.0-1.i386.tar.gz -C /

- Run ldconfig:

ldconfig

- cd to the backend directory and try out the printer:

cd /usr/lib/cups/backend
./z600

- Under SuSE 9.3 the output should be:

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

If you are ready, connect the printer via USB, then open the printer manager, maybe you find it in System/Hardware or something.
Reply With Quote
  #2 (permalink)  
Old 01-Nov-2009, 01:23
Parent Penguin
 
Join Date: Jun 2008
Posts: 699
pdc_2 hasn't been rated much yet
Default Re: Lexmark z517 z600 z510 printer howto

well done; thanks for this;

lexmark inkjet printers have not had a lot of linux support: their laser printers seem to have more support offered;

If you go here

OpenPrinting database - Printer: Lexmark Z517

it is described as a paperweight, and you would help the linux community if you edit this and describe how you got it working
Reply With Quote
  #3 (permalink)  
Old 01-Nov-2009, 01:25
Wise Penguin
 
Join Date: Mar 2009
Posts: 1,824
Akoellh is a reputation jewel in the roughAkoellh is a reputation jewel in the roughAkoellh is a reputation jewel in the roughAkoellh is a reputation jewel in the roughAkoellh is a reputation jewel in the rough
Default Re: Lexmark z517 z600 z510 printer howto

One question though arises.

Why do you create RPMs (which makes perfect sense for an RPM-based distro) and the moment you have them, you convert them back to tgz?

Makes no sense to me, why not install the RPMs?

(If the RPMs are sane, this would also make the ldconfig-step obsolete.)


And another very bad move:

Quote:
- su to root and unpack the driver package:
I don't think doing this as root will be needed. Double check this, if it does not need root privileges to unpack a tarballe (which is the normal case, I never had a tarball which needed to be unpacked as root), then _don't_ use root for that.

I am pretty sure, root will be needed for _only_ one step, installing the drivers and that's it.
__________________
“Never attribute to malice that which can be adequately explained by stupidity.” (R.J. Hanlon)
Reply With Quote
  #4 (permalink)  
Old 01-Nov-2009, 03:50
Puzzled Penguin
 
Join Date: Oct 2009
Posts: 3
petipe hasn't been rated much yet
Default Re: Lexmark z517 z600 z510 printer howto

Hi!
Well, I've just installed openSuse yesterday, I tried to install those rpms given, but it failed with some errors, so i had to find an other way to install.
I tried to do it from here OpenPrinting database - Printer: Lexmark Z517 , but it didn't work.
Reply With Quote
  #5 (permalink)  
Old 01-Nov-2009, 03:53
Wise Penguin
 
Join Date: Mar 2009
Posts: 1,824
Akoellh is a reputation jewel in the roughAkoellh is a reputation jewel in the roughAkoellh is a reputation jewel in the roughAkoellh is a reputation jewel in the roughAkoellh is a reputation jewel in the rough
Default Re: Lexmark z517 z600 z510 printer howto

Quote:
Originally Posted by petipe View Post
but it failed with some errors, ...

.... , but it didn't work.
Being a little more precise on what those errors actually were and what exactly did not work would help.

(I have an idea what it might have been, but rather prefer facts over wild guessing.)
__________________
“Never attribute to malice that which can be adequately explained by stupidity.” (R.J. Hanlon)
Reply With Quote
  #6 (permalink)  
Old 01-Nov-2009, 04:07
Puzzled Penguin
 
Join Date: Oct 2009
Posts: 3
petipe hasn't been rated much yet
Default Re: Lexmark z517 z600 z510 printer howto

Well, i can't paste the outputs, because it was my mother's machine, and i'm not at home now, but first i tried to install the rpms with the package manager, z600llpddk-2.0-1.i386.rpm package had been installed correctly, but the z600cups-1.0-1.i386.rpm package returned with errors, but i cant remember what it was, maybe it had problems with cups.
Thanks for your help.
Reply With Quote
  #7 (permalink)  
Old 01-Nov-2009, 05:00
Wise Penguin
 
Join Date: Mar 2009
Posts: 1,824
Akoellh is a reputation jewel in the roughAkoellh is a reputation jewel in the roughAkoellh is a reputation jewel in the roughAkoellh is a reputation jewel in the roughAkoellh is a reputation jewel in the rough
Default Re: Lexmark z517 z600 z510 printer howto

So there are two possibilities now, at least if one assumes the most likely "error" when installing the package via RPM, which would be "missing dependencies".

A) The packages themselves are not build well and search for an obsolete or non-satisfiable dependency (due to the same dependency having another name on openSUSE than the one being marked as required in the RPM)

B) The packages themselves really need this dependency and it has to be satisfied to make the driver run correctly

Neither A) or B) can be solved by not using RPMs, you just circumvented them, in case of A it is not of bigger concern (but could be fixed easily), in case of B) this most likely will bite you the moment a function of the driver package calls for functionality provided by a requirement not installed.

What you installed will remain completely unknown to your package manager and therefore you might run into trouble if anything related to the driver is changing while it would be most likely detected by RPM.
__________________
“Never attribute to malice that which can be adequately explained by stupidity.” (R.J. Hanlon)
Reply With Quote
Reply

Bookmarks

Tags
lexmark z517 z600 z510


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
Trackbacks are On
Pingbacks are On
Refbacks are On




 

Search Engine Friendly URLs by vBSEO 3.3.0 RC2