Need help installing printer please.

Asked by Ricci

OK guys, running Hardy, downloaded printer driver for Lexmark z600 which runs in Redhat and Ubuntu 6.06. Got a file called z600cups-1.0-1.gz.sh (this is in a directory on the desktop called Z605) and I installed alien via synaptics. Alien doesn't show anywhere, but I don't know anyway if I need it, so here is the thing; I need a step by step to install the above printer driver on Hardy, and advice as to whether I need to convert it and what to use (Alien perhaps). And it would also be interesting to know what happened to the little Alien after I installed it. Thanks guys

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
Ricci
Solved:
Last query:
Last reply:
Revision history for this message
David Hugh-Jones (davidhughjones) said :
#1

Hi Ricci

Have you tried
http://finebushpeople.net/LexmarkZ600
?

David

Revision history for this message
Ricci (riccisayer) said :
#2

Hi David,
Thanks for that, but falls at the first hurdle with the following message
ricci@ricci-laptop:~$ tar -zxvf /home/ricci/Desktop/CJLZ600LE-CUPS-1.0-1.TAR.gzCOPYING
README
z600cups-1.0-1.gz.sh
ricci@ricci-laptop:~$ sh z600cups-1.0-1.gz.sh -target temp_lex
Creating directory temp_lex
Verifying archive integrity...tail: cannot open `+6' for reading: No such file or directory
Error in check sums 2331425966 225780837

Revision history for this message
David Hugh-Jones (davidhughjones) said :
#3

and are there two rpm files in the directory temp_lex?

Revision history for this message
Ricci (riccisayer) said :
#4

No, it creates the directory but it's empty.

Revision history for this message
David Hugh-Jones (davidhughjones) said :
#5

Hmm:

http://www.google.com/search?q=z600cups-1.0-1.gz.sh

leads me to this thread:

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

In particular check out this line.

$ 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.

Revision history for this message
Ricci (riccisayer) said :
#6

Hi again, thanks for all your help, I thought we were onto a winner there until I got this.

ricci@ricci-laptop:/usr/share/cups/model$ sudo gunzip Lexmark-Z600-lxz600cj-cups.ppd.gz
gzip: Lexmark-Z600-lxz600cj-cups.ppd.gz: No such file or directory

Where did I go wrong?

I'll start again from scratch later, got to get some work done now, will update.

Revision history for this message
marcobra (Marco Braida) (marcobra) said :
#7

The message gzip: Lexmark-Z600-lxz600cj-cups.ppd.gz: No such file or directory tell you that:
You don't have any Lexmark-Z600-lxz600cj-cups.ppd.gz into the working directory so change directory, go to into directory where you have the file, and/or check the filename and retry.

to change directory type:

cd [path_and_name_of_directory]

substitute the [path_and_name_of_directory] with some with sense here.

Example:

cd /home/danilo/Desktop

Hope this helps

Revision history for this message
Ricci (riccisayer) said :
#8

Hi Guys,
keeps persistently loosing the files, so I go to the directory and drag it to the terminal, then it reacts and all steps seem to go OK until one asks it to restart the cups server, at which point it announces it cant do that. Restart computer and it still doesn't work. Have played with it to the point of insanity and at the expense of work. Will play with it again but am on the point of taking alternative action. Many thanks for the help, will keep you advised.

Revision history for this message
David Hugh-Jones (davidhughjones) said :
#9

Hmm, when you say "ask it to restart the cups server", are you running "/etc/init.d/cups restart"? If so, try "sudo /etc/init.d/cups restart" and type in your password. You can't restart system services without putting your password in to gain admin privileges.

Revision history for this message
Ricci (riccisayer) said :
#10

Tried it on the clients machine, still wouldn't find the files, and as before, when located and dragged to the termina,l it would move to the next step, until the end when it lost the plot again because there were either no files, or they were not where they were supposed to be. Fortunately for all concerned, the client has changed for an Epson, so I guess it's solved, just not with the Lexmark.

Thanks again for all your help guys

Revision history for this message
Cecil Ennett (cecilennett) said :
#11

Being a newbe, I need help because I don't understand the language. I need some very simple instructions on installing the printer driver. I have downloaded the file and don't know how to extract and install it.
Thanks, Cecil, the newbe

Revision history for this message
David Hugh-Jones (davidhughjones) said :
#12

hi Cecil

ok, bewarned this is quite tricky.

First, open a terminal (Applications->Accessories->Terminal)

inside the terminal, enter the command "cd <path to where you put the file>" e.g. if it is in /home/cecil/somefolder type "cd /home/cecil/somefolder" and hit return.

now enter "ls" and you should see a list of the folder contents. if your downloaded tarfile is there, type

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

and it will extract the tarfile for you.

After that, try the commands listed in http://ubuntuforums.org/showthread.php?t=49714 . The $ mark at the left of the commands is the prompt, you don't need to type that.

Bewarned that this seems to be quite tricky - things may go wrong! If so, come back for help.

Revision history for this message
Cecil Ennett (cecilennett) said :
#13

Hi, David, you are right, it must be tricky. I have tried several times and I get the same message.
cecil@cecil-desktop:~$ cd /home/cecil/lexmark
bash: cd: /home/cecil/lexmark: No such file or directory
cecil@cecil-desktop:~$
This is as far as I can get.The folder tells me the file is in there. How do I get to moving from here. Thanks for all your help so far, but need some more.
Maybe if you look at the terminal message, you can figure it out, I can't.

Revision history for this message
David Hugh-Jones (davidhughjones) said :
#14

oh dear! perhaps I should be simpler. I expect your home directory is not called "cecil", but something else, I should have thought of that.
in your home directory, type "ls". This will list the contents. Hopefully you will see a folder called "lexmark" there. Type "cd lexmark", which means "move from here into the folder lexmark" and that should do it. (If you put a slash at the start, like "cd /home" then it means "move to the root folder [kind of like your C:\ drive] and from there into the folder called home".

Some useful other basic commands: "man" gives you the manual page, e.g. "man cd" tells you how to use the "cd" command. "pwd" prints your working directory, i.e. where you are.

Revision history for this message
Cecil Ennett (cecilennett) said :
#15

Hi, David, this seems to be a personal thing here. I do appreciate it very much. But I have tried many times, to no avail. I have copied the terminal window for you to look at. If you can, tell me what I'm doing wrong.
dap87.exe OOO300_m9_native_packed-1_en-US.9358
Desktop PDF
Documents Pictures
efax-gtk-server Public
Examples README
faxin setup.tcl
faxout Templates
faxsent testpage
globals.tcl usb.tcl
install Videos
install.tar.gz xlexinstall
lexinstall xlexinstall.tcl
lexinstall.tcl z600cups-1.0-1.gz.sh
lexmark z600cups-1.0-1.i386.rpm
license z600llpddk-2.0-1.i386.rpm
cecil@cecil-desktop:~$ cd lexmark
cecil@cecil-desktop:~/lexmark$ ls
CJLZ600LE-CUPS-1.0-1.TAR.gz
cecil@cecil-desktop:~/lexmark$ tar -xvzf CJLZ600LE-CUPS-0.0-1.TAR.gz
tar: CJLZ600LE-CUPS-0.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
cecil@cecil-desktop:~/lexmark$

Revision history for this message
David Hugh-Jones (davidhughjones) said :
#16

cecil, just look at the last two commands.

$ ls
CJLZ600LE-CUPS-1.0-1.TAR.gz
$ tar -xvzf CJLZ600LE-CUPS-0.0-1.TAR.gz

then it says "no such file". Can you spot why? You've typed 0.0.1 instead of 1.0.1.

Try typing "tar -xvzf CJL" and then hitting <tab>. You will probably find that it autocompletes the name for you.

Revision history for this message
Cecil Ennett (cecilennett) said :
#17

Hi, David, I downloaded this file 3 times from Lexmark. Each time I get this file: -xvzf CJLZ600LE-CUPS-0.0-1.TAR.gz, with this (0.0-1 TAR.gz) notice the hyphen here. Should I change the file name to 0.0.1.TAR.gz? I think this is where it's going wrong. I can't figure it out. Thanks, Cecil

Revision history for this message
David Hugh-Jones (davidhughjones) said :
#18

I don't think the file name should matter. What's going wrong now?