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 06-15-2004, 12:34 AM   #1
Tsumeone
Member
 
Registered: Jun 2004
Posts: 26

Rep: Reputation: 15
Lexmark X1150 w/ Debian (Sarge w/ kernel 2.6.5-1-k7)


I'm curious as to whether anyone knows how to get this printer to work. When Debian installed, it selected a generic driver, which obviously doesn't work. I've looked around but it seems that everyone who has solved this problem is using a Redhat based distrobution, and since the steps involved to solving the problem involve RPMs, I don't think those solutions will work with Debian. I am a linux newbie, but not a total idiot I just wish I would have known that Lexmark and linux don't go together before I bought the thing, but at that time I hadn't planned on using linux :P

Summary: Debian + Lexmark X1150 --- Anyone know how to make these two work together so I can print?

Thanx!
Tsumeone

Last edited by onebuck; 12-02-2014 at 08:49 AM. Reason: Remove personal information as per request
 
Old 06-15-2004, 06:01 PM   #2
twsnnva
Member
 
Registered: Oct 2003
Location: Newport News, Va
Distribution: Debian
Posts: 246

Rep: Reputation: 30
I wrote a simple how-to and also wrote a script that will do it all for you.
http://members.cox.net/twsnnva/Linux.html

Thomas
 
Old 06-15-2004, 06:39 PM   #3
Tsumeone
Member
 
Registered: Jun 2004
Posts: 26

Original Poster
Rep: Reputation: 15
Thanks for replying

I tried the automatic script thing, but it didn't work.

I'm having problems with these steps:
Quote:
Now run the script that was extractd ` sh z600cups-1.0-1.gz.sh --keep`
There should now be a folder called "install" in the directory. Change to that directory and notice the two .rpms.
When I run the script with 'sh z600cups-1.0-1.gz.sh --keep' (sans quotes), it pops up and asks if I want to Accept or Exit. I pressed Accept, and it doesn't see my printer. I clicked Select... to change the settings myself for the printer port and name. I pressed Next and I get this error:
Quote:
rpm: To install rpm packages on Debian systems, use alien. See README.Debian.
error: cannot open Packages index using db3 - No such file or directory (2)
error: cannot open Packages database in /var/lib/rpm
while executing
"exec rpm -i --test $rpmfilename"
I pressed Yes anyway, and it shows a full progress bar and Installing Software, but it just sits there. During the course of running the script I didn't see an install directory in the folder, at all.

Any ideas?
 
Old 06-15-2004, 07:17 PM   #4
twsnnva
Member
 
Registered: Oct 2003
Location: Newport News, Va
Distribution: Debian
Posts: 246

Rep: Reputation: 30
That sounds right you need alien to convert the rpms to debs. That is one of the steps I have listed.
As for the script what failed? You do need to be root to run the script and you need to download the drivers and put them in the same directory as the script, It will copy itself and the drivers to /tmp and begin. The script will check to see if you have alien installed, if you do not it will ask your permission to apt-get it. This script does assume that you have cups installed since it is only to install the lexmark x1150 drivers.


---Manually installing the driver---
First lets download the Lexmark Z601 driver here.
Next you need to create a symlink for libtk8.4.so.0 because the Lexmark installer will look for libtk8.3.so do this with `ln -s /usr/lib/libtk8.4.so.0 /usr/lib/libtk8.3.so`
Now extract the files in the Lexmark archive `tar -xzf CJLZ600LE-CUPS-1.0-1.TAR.gz`
Now run the script that was extracted ` sh z600cups-1.0-1.gz.sh --keep`
There should now be a folder called "install" in the directory. Change to that directory and notice the two .rpms.
Next you need to download a program called "alien" that can convert .rpms to .debs. You can get it with `apt-get install alien`
Now run `alien -d *.rpm` to convert both files to .debs.
Now that we have two .deb files were almost done. You now need to install the two .deb files like this `dpkg -i *.deb`
Now you need to go to the /usr/share/cups/model directory, and extract the Lexmark-Z600-lxz600cj-cups.ppd.gz like this `gunzip Lexmark-Z600cj-cups.ppd.gz`
Last lets add the printer with this command `/usr/sbin/lpadmin -p Lexmark_X1150 -E -v usb:/dev/usb/lp0 -m Lexmark-Z600-lxz600cj-cups.ppd`
Everything should be setup now and working. Try to print.


I downloaded an ran the script it worked ok for me.


-------Lexmark X1150 Printer driver install script for Debian/GNU linux -------
Checking to see if Lexmark driver is in current directory...Found Lexma rk X1150 driver!
Checking to see if alien is installed...alien has been detected
Creating necessary symlinks for lexmark driver to install...
ln: `/usr/lib/libtcl8.3.so': File exists
ln: `/usr/lib/libtk8.3.so': File exists
Moving files to /tmp/lexmark...
Extracting files...
Converting rpms to debs...
z600cups_1.0-2_i386.deb generated
z600llpddk_2.0-2_i386.deb generated
Installing .debs...
Unzipping final printer driver...
gunzip: Lexmark-Z600-lxz600cj-cups.ppd already exists; do you wish to o verwrite (y or n)? y
Configuring printer...
Your printer is now installed!
Draco:/home/storage#

Last edited by twsnnva; 06-15-2004 at 07:25 PM.
 
Old 06-15-2004, 10:27 PM   #5
Tsumeone
Member
 
Registered: Jun 2004
Posts: 26

Original Poster
Rep: Reputation: 15
The script pops up the Lexmark installer GUI which returns the same error about RPMs.

I found the drivers in /tmp though, and after following the rest of the instructions I got it installed and running Thanks!
 
  


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
Slackware 10.1 and Lexmark X1150 MDBlueIce Linux - Hardware 1 04-14-2005 11:08 AM
Lexmark X1150 undeadpenguin Linux - Hardware 26 02-17-2005 11:33 PM
Lexmark X1150 printer on Slack 9.1 ProtoformX Slackware 9 01-25-2005 05:01 PM
Problem installing Lexmark X1150 koinseb Linux - Hardware 4 03-07-2004 12:51 AM
Lexmark X1150 basttrax Linux - Hardware 1 03-07-2004 12:50 AM

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

All times are GMT -5. The time now is 06:59 PM.

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