LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices


Reply
  Search this Thread
Old 04-18-2005, 05:50 AM   #1
bob_man_uk
Member
 
Registered: Jul 2003
Location: Malta
Distribution: Ubuntu/Windows/Mac
Posts: 83

Rep: Reputation: 16
printing here and there in REDHAT 9


hi all,

im having problems with printers, i use gnome (dont want to switch to kde) and have gnome printer manager which displays a printer with an orangy-red triangle, in printer configuration this printer doesnt exist, help... please

I have restarted cups and samba, dont know how to start lpd but i dont think this has a role in this, (i may be wrong)

any help appreciated,

MattyG
 
Old 04-18-2005, 06:00 AM   #2
perfect_circle
Senior Member
 
Registered: Oct 2004
Location: Athens, Greece
Distribution: Slackware, arch
Posts: 1,783

Rep: Reputation: 53
maybe your printer need configuration. If cups is running,
open a web browser and type
http://localhost:631
in the address bar
 
Old 04-18-2005, 06:12 AM   #3
bob_man_uk
Member
 
Registered: Jul 2003
Location: Malta
Distribution: Ubuntu/Windows/Mac
Posts: 83

Original Poster
Rep: Reputation: 16
jobs a gud'un

cheers
 
Old 05-02-2005, 10:45 AM   #4
waldyd
LQ Newbie
 
Registered: May 2005
Distribution: Fedora
Posts: 4

Rep: Reputation: 0
Problems Printing in RH9

Quote:
Originally posted by perfect_circle
maybe your printer need configuration. If cups is running,
open a web browser and type
http://localhost:631
in the address bar
I tried to do what it says below, but doesn't works for me...

I check via the service comand if CUPS was running, and it was....

How can i solve my printing problems??

PD: I already use the printing configuration tool, and iy doesn't work...
 
Old 05-02-2005, 11:20 AM   #5
perfect_circle
Senior Member
 
Registered: Oct 2004
Location: Athens, Greece
Distribution: Slackware, arch
Posts: 1,783

Rep: Reputation: 53
Re: Problems Printing in RH9

Quote:
Originally posted by waldyd
I tried to do what it says below, but doesn't works for me...

I check via the service comand if CUPS was running, and it was....

How can i solve my printing problems??

PD: I already use the printing configuration tool, and iy doesn't work...
What distro are you using?
can you please post the result of those 2 commands:
Code:
ps -A|grep cupsd
Code:
nmap localhost
 
Old 05-02-2005, 02:49 PM   #6
waldyd
LQ Newbie
 
Registered: May 2005
Distribution: Fedora
Posts: 4

Rep: Reputation: 0
Comands respond

[waldyd@Airei waldyd]$ ps -A|grep cupsd
1169 ? 00:00:00 cupsd
[waldyd@Airei waldyd]$ nmap localhost

Starting nmap V. 3.00 ( www.insecure.org/nmap/ )
Interesting ports on Aire-i (172.16.28.21):
(The 1595 ports scanned but not shown below are in state: closed)
Port State Service
22/tcp open ssh
111/tcp open sunrpc
139/tcp open netbios-ssn
515/tcp open printer
1024/tcp open kdm
6000/tcp open X11

Nmap run completed -- 1 IP address (1 host up) scanned in 1 second
[waldyd@Airei waldyd]$
 
Old 05-02-2005, 06:45 PM   #7
perfect_circle
Senior Member
 
Registered: Oct 2004
Location: Athens, Greece
Distribution: Slackware, arch
Posts: 1,783

Rep: Reputation: 53
Re: Comands respond

Quote:
Originally posted by waldyd
[waldyd@Airei waldyd]$ ps -A|grep cupsd
1169 ? 00:00:00 cupsd
[waldyd@Airei waldyd]$ nmap localhost

Starting nmap V. 3.00 ( www.insecure.org/nmap/ )
Interesting ports on Aire-i (172.16.28.21):
(The 1595 ports scanned but not shown below are in state: closed)
Port State Service
22/tcp open ssh
111/tcp open sunrpc
139/tcp open netbios-ssn
515/tcp open printer
1024/tcp open kdm
6000/tcp open X11

Nmap run completed -- 1 IP address (1 host up) scanned in 1 second
[waldyd@Airei waldyd]$
So, cups daemon is running but the internet printing protocol (IPP) default port, 631 is not open.
I don't know, maybe for security reasons, what distro are u using?
can you locate the CUPS configuration file? it's /etc/cups/cupsd.conf in my case, but it may have different name in your distro.

There are some lines like those:
Code:
########
######## Network Options
########

#
# Ports/addresses that we listen to.  The default port 631 is reserved
# for the Internet Printing Protocol (IPP) and is what we use here.
#
# You can have multiple Port/Listen lines to listen to more than one
# port or address, or to restrict access:
#
#    Port 80
#    Port 631
#    Listen hostname
#    Listen hostname:80
#    Listen hostname:631
#    Listen 1.2.3.4
#    Listen 1.2.3.4:631
#
# NOTE: Unfortunately, most web browsers don't support TLS or HTTP Upgrades
# for encryption.  If you want to support web-based encryption you'll
# probably need to listen on port 443 (the "https" port...)
#
# NOTE 2: In order for the command-line and web interfaces to work, you
# must have at least one Port or Listen line that allows access from the
# local loopback address (localhost).
#

#Port 80
#Port 443
Port 631
Is there Port 631 uncommented, like mine?

*EDIT*
Also, there is port 515 open which is for the line printing deamon (what ever that means)

Last edited by perfect_circle; 05-02-2005 at 06:55 PM.
 
Old 05-06-2005, 10:02 AM   #8
waldyd
LQ Newbie
 
Registered: May 2005
Distribution: Fedora
Posts: 4

Rep: Reputation: 0
Question Printing Problems

I am using RedHat 9, and i have find the file....

########
######## Network Options
########

#
# Ports/addresses that we listen to. The default port 631 is reserved
# for the Internet Printing Protocol (IPP) and is what we use here.
#
# You can have multiple Port/Listen lines to listen to more than one
# port or address, or to restrict access:
#
# Port 80
# Port 631
# Listen hostname
# Listen hostname:80
# Listen hostname:631
# Listen 1.2.3.4
# Listen 1.2.3.4:631
#
# NOTE: Unfortunately, most web browsers don't support TLS or HTTP Upgrades
# for encryption. If you want to support web-based encryption you'll
# probably need to listen on port 443 (the "https" port...)
#

#Port 80
#Port 443

#
# HostNameLookups: whether or not to do lookups on IP addresses to get a
# fully-qualified hostname. This defaults to Off for performance reasons...
#

#HostNameLookups On

#
# KeepAlive: whether or not to support the Keep-Alive connection
# option. Default is on.
#

#KeepAlive On


How do i edit my cupsd.conf file to enable printing....?
 
  


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
Printing On RedHat larso Linux - Newbie 1 10-05-2005 03:09 PM
Help ! Printing with Samba in RedHat 9 kkempter Linux - Software 9 08-04-2003 09:49 PM
printing problem with RedHat 8.0 ingchun Linux - General 1 11-29-2002 02:10 AM
Printing Problem with RedHat 8.0 ingchun Linux - General 0 11-28-2002 09:06 PM
USB Printing in RedHat 7.2 PLEASE HELP bluskyambition Linux - Hardware 4 05-27-2002 08:47 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat

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