View previous topic :: View next topic |
Author |
Message |
blibbleage Tux's lil' helper
Joined: 19 Aug 2004 Posts: 84 Location: Cambridge, UK
|
Posted: Tue Oct 05, 2004 2:22 pm Post subject: CUPS |
|
|
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 |
|
|
blibbleage Tux's lil' helper
Joined: 19 Aug 2004 Posts: 84 Location: Cambridge, UK
|
Posted: Sat Oct 09, 2004 4:33 pm Post subject: |
|
|
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 |
|
|
Evil Dark Archon Guru
Joined: 21 Dec 2002 Posts: 562 Location: Santa Rosa, CA
|
Posted: Sat Oct 09, 2004 7:38 pm Post subject: |
|
|
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 |
|
|
blibbleage Tux's lil' helper
Joined: 19 Aug 2004 Posts: 84 Location: Cambridge, UK
|
Posted: Sat Oct 09, 2004 9:11 pm Post subject: |
|
|
Thanks, just tried that but it still doesn't work. Never mind, samba-based printing is working fine now. |
|
Back to top |
|
|
Taladar Guru
Joined: 09 Oct 2004 Posts: 458 Location: Bielefeld, Germany
|
Posted: Sun Oct 10, 2004 1:30 am Post subject: |
|
|
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 |
|
|
blibbleage Tux's lil' helper
Joined: 19 Aug 2004 Posts: 84 Location: Cambridge, UK
|
Posted: Sun Oct 10, 2004 5:24 pm Post subject: |
|
|
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 |
|
|
|