LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva > Conectiva
User Name
Password
Conectiva This forum is for the discussion of Conectiva Linux.

Notices


Reply
  Search this Thread
Old 09-29-2002, 11:10 PM   #1
caleb
Member
 
Registered: Sep 2002
Location: Cap. Fed. - Buenos Aires - Argentina
Distribution: Conectiva 10
Posts: 118

Rep: Reputation: 15
getting my printer to work


so i bought a printer
it's a lexmark z51
connected it through the parallel port (/dev/lp0) and opened Centro de Controle KDE
sistema/Gerenciador de impressão
adicionar impresora
followed the wizard's steps
then KDE menu/Sistema/Editor de Sys V Init to activate de lprg and cups services on levels 3 and 5.
Rebooted, turned printer on tried to print and nothing happend

any idea why?

thanks
 
Old 09-30-2002, 11:54 AM   #2
tulio
Conectiva
 
Registered: Sep 2002
Location: Curitiba - Parana - Brazil
Distribution: Conectiva
Posts: 17

Rep: Reputation: 0
Hi caleb,

you'll use LPRng or Cups?
If you wish to use LPRng, configure your printer via linuxconf.
Cups you can try configure via browser:
http://localhost:631
(It's better than the kde utility, in my opinion).
If you'll use cups, verify if the port 631 is listen:
# netstat -nat
 
Old 09-30-2002, 02:50 PM   #3
caleb
Member
 
Registered: Sep 2002
Location: Cap. Fed. - Buenos Aires - Argentina
Distribution: Conectiva 10
Posts: 118

Original Poster
Rep: Reputation: 15
[gnemmi@inferna gnemmi]$ netstat -nat
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State
tcp 0 0 0.0.0.0:515 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:6000 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:631 0.0.0.0:* LISTEN
tcp 0 0 127.0.0.1:631 127.0.0.1:32834 TIME_WAIT

thanks for the tip
I was using the kde utility only because conectiva's online manual (user guide) says that's the tool i should use to configure my printer.

Now, which one would you recommend me to use?
Cups or LPRng?
This is the only computer here so I won't be sharing the printer over a network or anything like that.

thnaks tulio

Last edited by caleb; 09-30-2002 at 02:54 PM.
 
Old 09-30-2002, 02:57 PM   #4
caleb
Member
 
Registered: Sep 2002
Location: Cap. Fed. - Buenos Aires - Argentina
Distribution: Conectiva 10
Posts: 118

Original Poster
Rep: Reputation: 15
ok, i just tried using Cups via http (http://localhost:631).
Clicked on PRINTERS
Then: Print Test Page
The job gets sent to the printer but nothing happens
 
Old 09-30-2002, 03:17 PM   #5
tulio
Conectiva
 
Registered: Sep 2002
Location: Curitiba - Parana - Brazil
Distribution: Conectiva
Posts: 17

Rep: Reputation: 0
caleb,

You can try to use another filter like Lexmark Z52 CUPS+GIMP (it's only a test, because I don't have installed this printer yet).
Please, send me the exit of the command:
update-alternatives -config lpr

If you type:
lpr /etc/fstab

something happen?
 
Old 09-30-2002, 10:38 PM   #6
caleb
Member
 
Registered: Sep 2002
Location: Cap. Fed. - Buenos Aires - Argentina
Distribution: Conectiva 10
Posts: 118

Original Poster
Rep: Reputation: 15
nop nothing happened
i did an update-alternatives -config lpr but this is what i got
i must've done something wrong...

[gnemmi@inferna gnemmi]$ update-alternatives -config lpr
bash: update-alternatives: command not found
[gnemmi@inferna gnemmi]$ su
Password:
[root@inferna gnemmi]# update-alternatives -config lpr
bash: update-alternatives: command not found
[root@inferna gnemmi]#

anyways, i decided to get it to work on one system first and then check to see what happens with the other
so i did a
# ./chkconfig --del lpd

then opened Mozilla
http://localhost:631
deleted the printer and add it again and tried these three drivers
lx5000
pbm217k
gimp+print
but again, nothing happened

Last edited by caleb; 09-30-2002 at 10:42 PM.
 
Old 10-02-2002, 11:51 AM   #7
tulio
Conectiva
 
Registered: Sep 2002
Location: Curitiba - Parana - Brazil
Distribution: Conectiva
Posts: 17

Rep: Reputation: 0
caleb,

the update-alternatives command is in /usr/sbin.
If you use "su -" it will work, or try use the full path (as root):
# /usr/sbin/update-alternatives
try again, please.

By the way, what is the installation profile that you use?
 
Old 10-02-2002, 01:28 PM   #8
caleb
Member
 
Registered: Sep 2002
Location: Cap. Fed. - Buenos Aires - Argentina
Distribution: Conectiva 10
Posts: 118

Original Poster
Rep: Reputation: 15
here you go
seems that i just needed the full path

[gnemmi@inferna gnemmi]$ /usr/sbin/update-alternatives --config lpr

There are 3 programs which provide `lpr'.

Selection Command
-----------------------------------------------
1 /usr/lib/kde3/bin/kprinter
2 /usr/bin/LPRng.lpr
*+ 3 /usr/bin/cups.lpr

Enter to keep the default[*], or type selection number:

About install profile, i think i chose Workstation ...
 
Old 10-03-2002, 12:57 PM   #9
tulio
Conectiva
 
Registered: Sep 2002
Location: Curitiba - Parana - Brazil
Distribution: Conectiva
Posts: 17

Rep: Reputation: 0
caleb,
I cannot find where is the problem, but I find a solution (in my test it work).
as root edit the /etc/apt/sources.list file and add the line:
rpm ftp://ftp.nl.linux.org/pub/conectiva snapshot/conectiva main extra kde
comment all the rest (whith #)
execute:
# apt-get update
# apt-get remove cups
verify if all the cups packages has been removed:
# rpm -qa | grep cups
install only this packages:
#apt-get install cups cups-drivers-lexmark gimp-print-cups gimp-print-foomatic
Remove the printer configuration and create it again:
# lynx localhost:631
Use the filter Lexmark Z51 foomatic + lx5000
 
Old 10-03-2002, 02:52 PM   #10
caleb
Member
 
Registered: Sep 2002
Location: Cap. Fed. - Buenos Aires - Argentina
Distribution: Conectiva 10
Posts: 118

Original Poster
Rep: Reputation: 15
after apt-get remove cups i did a rpm -qa | grep cups and this is what i got:

cups-devel-static-1.1.14-1cl
cups-devel-1.1.14-1cl
cups-libs-1.1.14-1cl

then to chek what other packages would i have to remve if i removed those three, i used synaptic and the thing is that if i remove cups-libs-1.1.14-1cl then kde-base-devel, devel static, kaddressbook and a los of other things
shoul i remove it anyways?
 
Old 10-03-2002, 03:10 PM   #11
tulio
Conectiva
 
Registered: Sep 2002
Location: Curitiba - Parana - Brazil
Distribution: Conectiva
Posts: 17

Rep: Reputation: 0
caleb,

do not remove the packages (cups-devel-static, cups-devel and cups-libs)
 
Old 10-04-2002, 12:21 AM   #12
caleb
Member
 
Registered: Sep 2002
Location: Cap. Fed. - Buenos Aires - Argentina
Distribution: Conectiva 10
Posts: 118

Original Poster
Rep: Reputation: 15
iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiittttttttttttttttttttttttttttttttttttttt worksssssssssssssssssssssssssssss !!!!!!!!!!!!!!!!!!!
YEAH YOU RULE !!!!!!

thanks a lot Tulio

what was it that happened?
did i find a bug or something?

oh man i'm so happy
now i'm only a step away from deleting my win partition !
printing was one of the three reasons why i still have a win partition it !

thanks a lot Tulio !!!!!!
 
Old 10-04-2002, 10:56 AM   #13
neo77777
LQ Addict
 
Registered: Dec 2001
Location: Brooklyn, NY
Distribution: *NIX
Posts: 3,704

Rep: Reputation: 56
What are two reasons that left? Gaming, and ....?
 
Old 10-04-2002, 12:03 PM   #14
caleb
Member
 
Registered: Sep 2002
Location: Cap. Fed. - Buenos Aires - Argentina
Distribution: Conectiva 10
Posts: 118

Original Poster
Rep: Reputation: 15
jajajajajajajajajaja (that's laughing in spanish )

It's not gaming but a particular game called: Clive Barker's Undying...
Even though I've played it and completed it four times, I still like to play it over and over again...
The other game I play is available on Linux (quake 3).

The other reason is that I screwed up when trying to configure my cd-burner and i can't get it to work on Linux. The problem was that I unintentionally deleted the files sg0 and sg1.

Right now my cd-rom is broken so I only have a cd burner, but as soon as I get a new cd-rom I think I'll delete my win partition and reinstall Conectiva as the only OS on my PC.

Then the only thing missing would be a very specific program (is a program for lawyers) that a I need to do my work (yes I'm a young lawyer) but I can do without it anyway . I'll sure miss it since it helps reduce the amount of work that I should do, But i can replace it with OpenOffice templates and things like that

Last edited by caleb; 10-04-2002 at 12:04 PM.
 
Old 10-04-2002, 03:03 PM   #15
tulio
Conectiva
 
Registered: Sep 2002
Location: Curitiba - Parana - Brazil
Distribution: Conectiva
Posts: 17

Rep: Reputation: 0
caleb,

I'm happy too.
I will try to discover what was wrong exactly, and if is a bug I will report on bugzilla.conectiva.com.br
The next step is the cd burner (about games I cannot help, I don't play)
Post your question (about cd burner) in the forum, and we'll try help you
 
  


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
how to get my printer to work true_atlantis Linux - Newbie 3 10-01-2006 03:09 AM
printer modules not loaded; parallel printer doesn't work blinux1 Linux - Newbie 7 06-24-2004 09:59 PM
Can't get printer to work, HELP! newbix Linux - Hardware 4 10-13-2003 10:55 PM
Getting printer to work? zsejk Slackware 16 04-27-2003 08:40 PM
Can't Get Printer to Work ehc1951 Linux - Newbie 4 03-03-2003 09:28 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva > Conectiva

All times are GMT -5. The time now is 08:44 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