Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
CUPS
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
blibbleage
Tux's lil' helper
Tux's lil' helper


Joined: 19 Aug 2004
Posts: 84
Location: Cambridge, UK

PostPosted: Tue Oct 05, 2004 2:22 pm    Post subject: CUPS Reply with quote

Hi

I've got a problem printing from a Fedora Core 1 machine to a Gentoo machine using CUPS. The gentoo machine has a USB printer attached, and I've tried adding it to the Fedora machine using redhat-config-printer and the cups web interface on that machine. I've told it the address of the printer is http://192.168.0.1:631/ipp/ http://192.168.0.1:631/ipp/ML1510 and http://192.168.0.1:631/ipp/queue1 (and those three with ipp:// at the start). The client reports that the "Printer is unavailable, will retry in 10 seconds" but never gets anywhere. What am I doing wrong? - I thought CUPS "Just worked (tm)".

The printer is called "ML1510" on the gentoo computer (192.168.0.1). If you need any more info, let me know.

Thanks!
Back to top
View user's profile Send private message
blibbleage
Tux's lil' helper
Tux's lil' helper


Joined: 19 Aug 2004
Posts: 84
Location: Cambridge, UK

PostPosted: Sat Oct 09, 2004 4:33 pm    Post subject: Reply with quote

I've got it working by sharing it with SAMBA. Seems a bit odd having to use windows networking to share stuff between linux computers though, so if anyone comes up with a solution to the cups thing, I'd be glad to know.

Thanks!
Back to top
View user's profile Send private message
Evil Dark Archon
Guru
Guru


Joined: 21 Dec 2002
Posts: 562
Location: Santa Rosa, CA

PostPosted: Sat Oct 09, 2004 7:38 pm    Post subject: Reply with quote

i think the actual url would be either http://192.168.0.1:631/printers/ML1510 or ipp://192.168.0.1:631/printers/ML1510 but you will also have to modify the cups config file on the server as by default i think it only allows printing from the local machine.
_________________
This post has been over explained for newb-informing purposes.

Registered Linux user 347334
Abit AV8-3rd eye, AMD Athlon64 3500+ 90nm, ATI Radeon x850 pro
Back to top
View user's profile Send private message
blibbleage
Tux's lil' helper
Tux's lil' helper


Joined: 19 Aug 2004
Posts: 84
Location: Cambridge, UK

PostPosted: Sat Oct 09, 2004 9:11 pm    Post subject: Reply with quote

Thanks, just tried that but it still doesn't work. Never mind, samba-based printing is working fine now.
Back to top
View user's profile Send private message
Taladar
Guru
Guru


Joined: 09 Oct 2004
Posts: 458
Location: Bielefeld, Germany

PostPosted: Sun Oct 10, 2004 1:30 am    Post subject: Reply with quote

You need to make sure your Printer-Server has the following lines in its cupsd.conf:

# Enables Browsing, enabled by default
# important there is no matching Off Line
Browsing On
# Use all non-ppp Interfaces for Browsing
BrowseAddress @LOCAL
# Allow Browsing from subnet 192.168.0.0/24
BrowseAllow 192.168.0.*
# Allow Printing from localhost and local network 192.168.0.0/24
<Location />
Order Deny,Allow
Deny From All
Allow From 127.0.0.1
Allow From 192.168.0.*
</Location>

# If you want to use the Server Admin Web-Interface from the Computers in your local LAN add the following Lines
<Location /admin>

AuthType Basic
AuthClass System

Order Deny,Allow
Deny From All
Allow From 127.0.0.1
Allow From 192.168.0.*
</Location>

Some of these lines should already be there (commented out), so make sure you do not have doule lines in your config. On the Client you just have to make sure Browsing is not disabled (in Gentoo default it is enabled so the default file is OK for client use)

After you changed all the config files just restart cups and wait a few seconds (depending on the BrowseIntervall Option in the Config File) and your client should have added the Server Printer automagically.
Back to top
View user's profile Send private message
blibbleage
Tux's lil' helper
Tux's lil' helper


Joined: 19 Aug 2004
Posts: 84
Location: Cambridge, UK

PostPosted: Sun Oct 10, 2004 5:24 pm    Post subject: Reply with quote

That works now - thanks! Why do I need to enable admin from other computers in order to print to this one though?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum