LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 03-02-2004, 01:29 AM   #1
Delphinusnz
Member
 
Registered: Sep 2003
Location: New Zealand
Distribution: Mandrake 10/Xandros 2.0
Posts: 39

Rep: Reputation: 15
Lexmark Z25 with Xandros


Hello,

I have a win98 server type machine with a USB Lexmark Z25 printer attached, works fine printing from that or another winxp machine via network.

I have just installed Xandros 2.0 on another machine, i have got it networking fine, i can see the server's shared files and the printer.

I have tried to use the Xandros wizard to set up the printer, but the Z25 is not available, if i use something like Z23 it will just print out a blank page.....

I went to the Lexmark website and downloaded linux drivers (CJLZ35LE-CUPS-2.0-1.TAR.GZ)
and following instructions in read me:

Quote:
In general, to install Z35 CUPS Printer Driver, you run
the following command:

- tar xvfz CJLZ35LE-CUPS-2.0-1.TAR.GZ
- sh lexmarkz35-CUPS-2.0-1.gz.sh
and get the following error:

Quote:
jack:/home/jack/Downloads/Linux/Printer# sh lexmarkz35-CUPS-2.0-1.gz.sh
Verifying archive integrity...OK
Uncompressing Lexmark Printer Driver............
ls: /usr/lib/libtcl?.?.so: No such file or directory
ls: /usr/lib/libtk?.?.so: No such file or directory
./install: line 15: ./xlexinstall: No such file or directory
The program returned an error code (127)
jack:/home/jack/Downloads/Linux/Printer#
Any help much appreciated, i'm pretty much a newbie with this.

Cheers
Delph
 
Old 09-08-2004, 08:21 AM   #2
runelolk
LQ Newbie
 
Registered: Feb 2004
Location: Århus, Denmark
Distribution: Mandrake 9.2
Posts: 9

Rep: Reputation: 0
Unhappy Got same problem

I'm having the exact same problem with the exact same printer :-(

It seems like you need to have tcl + tcllib + tk installed ... but this does not solve all the problems, coz i still get the error:

[root@dhcppc10 Desktop]# sh lex*
Verifying archive integrity...OK
Uncompressing Lexmark Printer Driver............
./install: line 15: ./xlexinstall: No such file or directory
The program returned an error code (127)

Plz... anyone know that answer or have a good tip how to solve this issue?

/rune
 
Old 09-08-2004, 09:07 AM   #3
runelolk
LQ Newbie
 
Registered: Feb 2004
Location: Århus, Denmark
Distribution: Mandrake 9.2
Posts: 9

Rep: Reputation: 0
the solution....

solve the problem yourself and get a lot wiser :-)

Okay, by now you should already have installed the tcllib, tcl & tk rpm's, if you don't have these then go to rpmseek.com and download them, then install them before doing anything else.

Now open a console and go to the location of the lexmarkz35-CUPS-2.0-1.gz.sh file and do this:

sh lexmarkz35-CUPS-2.0-1.gz.sh -keep -target "whatever"

now you have extracted the files in the lexmarkz35-CUPS-2.0-1.gz.sh archive to a "whatever" folder

open a console and log in as root and and go to the "whatever" folder

chmod 777 inst*

now open the install file in an editor, go change

./xlexinstall

to

./lexinstall (just like 2 lines above)

save the install file and run it as root, go through all the steps of the installation, go to you printer configuration panel i KDE (or whatever) and change your default print to Z35 and try to print a test page.

This worked fine for me, guess Lexmark did a real crappy work on this installation.
 
Old 09-08-2004, 02:48 PM   #4
J.W.
LQ Veteran
 
Registered: Mar 2003
Location: Boise, ID
Distribution: Mint
Posts: 6,642

Rep: Reputation: 87
Congrats on successfully solving the problem runelolk, and thanks for posting back with the solution. It will be helpful to future readers. -- J.W.
 
Old 10-26-2004, 11:35 AM   #5
bbking
Member
 
Registered: Oct 2004
Distribution: SuSE 9.0 & SuSE 10.0
Posts: 40

Rep: Reputation: 15
hi there

I'd like to share with you how I solved the problem:

I did

sh lexmarkz35-CUPS-2.0-1.gz.sh -keep -target "whatever"

as described before,
edited the file but it did not work as expected, then removed the error dumping to /dev/null to see whether there was an error:

gcc -o lexinstall $LIBTCL lexinstall.c
gcc -o xlexinstall $LIBTCL $LIBTK xlexinstall.c

which gave me lots of error messages. Don't know whats wrong, maybe the libtk and libtlc packages are not compatible with what the install scripts expects.
(in case anyone interested, I run SuSE 9.0 and have libtk8.4 and libtcl8.4)

so I tried to do the following in the same directory:
rpm -i z35llpddk-2.0-2.i386.rpm
rpm -i lexmarkz35-CUPS-2.0-1.i386.rpm

which just worked out fine for me!
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Lexmark Z25 on suse 9.0 aranes Linux - Hardware 1 09-22-2004 06:01 PM
Lexmark Z25 Printer a_m_flash Linux - Hardware 3 12-29-2003 03:27 PM
Lexmark Z25 Error when checkpc -f SirLancelotX Linux - Hardware 1 09-14-2003 08:37 PM
Lexmark Z25? robza Linux - Hardware 3 08-27-2003 06:38 AM
Lexmark Z25 CHaNX Linux - Hardware 1 07-27-2003 06:48 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 05:55 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration