Old Cups problem

Erik Jakobsen eja at urbakken.dk
Tue May 11 16:46:57 CEST 2004


Hi Kurt.

I never got an reply to this mail:

List:       kde-print
Subject:    [Fwd: Re: Printer]
From:       Erik Jakobsen <eja () urbakken ! dk>
Date:       2004-02-06 9:08:41
Message-ID: "<40235999.1090209 () urbakken ! dk>
[Download message RAW]

Did you see my reply Kurt ?.
-- 
Erik

["Re: Printer" (message/rfc822)]

Message-ID: <4022AA47.1080508 at urbakken.dk>
Date: Thu, 05 Feb 2004 21:40:39 +0100
From: Erik Jakobsen <eja at urbakken.dk>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US;
	rv:1.6b) Gecko/20031205 Thunderbird/0.4
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: "For users and developers of KDEPrint,
	the KDE printing architecture" <kde-print at kde.org>
Subject: Re: Printer
References: <402266E1.2060306 at urbakken.dk>
	<40229F84.6080405 at danka.de>	<4022A133.3070606 at urbakken.dk>
	<4022A326.8040004 at danka.de>
In-Reply-To: <4022A326.8040004 at danka.de>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 8bit

Kurt Pfeifle wrote:

>>> This shouldn't be required at all. It is much, much, much simpler.
>>
>>
>>
>> Sounds very good.
>>
>>>
>>> *Any* Linux workstation in the same subnet (and kprinter also) should
>>> be able to pick up the available printers from the server automatically.
>>> Unless there are special security concerns, you should do it this way.
>>
>>
>>
>> ok.
>>
>>> On the CUPS server, make sure that cupsd.conf contains
>>>
>>>   Browseing On
>>>   BrowseAddress @LOCAL
>>
>>
>>
>> good.
>>
>>> (OK -- the @LOCAL macro may not work with older versions of CUPS. In
>>> this case replace it with a valid "broadcast address" including your
>>> clients, like 10.255.255.255, or use "BrowseAddress @IF(eth0)"...)
>>
>>
>>
>> I'm not quite sure what you mean here ?.
>>
> 
> If you tell me the output of "ifconfig" for your server and client(s),
> I'll return you a valid "BrowseAddress" setting.

Client:

eth0      Link encap:Ethernet  HWaddr 00:69:00:0E:10:8F
           inet addr:192.168.1.161  Bcast:192.168.1.255  Mask:255.255.255.0
           inet6 addr: fe80::269:ff:fe0e:108f/64 Scope:Link
           UP BROADCAST NOTRAILERS RUNNING MULTICAST  MTU:1500  Metric:1
           RX packets:22105 errors:0 dropped:0 overruns:0 frame:0
           TX packets:19674 errors:0 dropped:0 overruns:0 carrier:0
           collisions:0 txqueuelen:100
           RX bytes:20709065 (19.7 Mb)  TX bytes:3755043 (3.5 Mb)
           Interrupt:11 Base address:0xc000

lo        Link encap:Local Loopback
           inet addr:127.0.0.1  Mask:255.0.0.0
           inet6 addr: ::1/128 Scope:Host
           UP LOOPBACK RUNNING  MTU:16436  Metric:1
           RX packets:8054 errors:0 dropped:0 overruns:0 frame:0
           TX packets:8054 errors:0 dropped:0 overruns:0 carrier:0
           collisions:0 txqueuelen:0
           RX bytes:1133519 (1.0 Mb)  TX bytes:1133519 (1.0 Mb)


Server:

]# ifconfig
eth0      Link encap:Ethernet  HWaddr 00:50:BF:91:10:62
           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
           RX packets:2617678 errors:222 dropped:0 overruns:0 frame:0
           TX packets:2338428 errors:0 dropped:0 overruns:0 carrier:0
           collisions:444 txqueuelen:100
           RX bytes:1673592927 (1596.0 Mb)  TX bytes:234325741 (223.4 Mb)
           Interrupt:11 Base address:0x2000

eth1      Link encap:Ethernet  HWaddr 00:02:44:59:7A:2B
           inet addr:192.168.1.1  Bcast:192.168.1.255  Mask:255.255.255.0
           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
           RX packets:1850443 errors:0 dropped:0 overruns:0 frame:0
           TX packets:2054151 errors:0 dropped:0 overruns:0 carrier:0
           collisions:0 txqueuelen:100
           RX bytes:440197722 (419.8 Mb)  TX bytes:1418005163 (1352.3 Mb)
           Interrupt:12 Base address:0xd800

lo        Link encap:Local Loopback
           inet addr:127.0.0.1  Mask:255.0.0.0
           UP LOOPBACK RUNNING  MTU:16436  Metric:1
           RX packets:398592 errors:0 dropped:0 overruns:0 frame:0
           TX packets:398592 errors:0 dropped:0 overruns:0 carrier:0
           collisions:0 txqueuelen:0
           RX bytes:350959484 (334.7 Mb)  TX bytes:350959484 (334.7 Mb)

ppp0      Link encap:Point-to-Point Protocol
           inet addr:80.198.8.70  P-t-P:195.249.61.73  Mask:255.255.255.255
           UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1492  Metric:1
           RX packets:54596 errors:0 dropped:0 overruns:0 frame:0
           TX packets:51924 errors:0 dropped:0 overruns:0 carrier:0
           collisions:0 txqueuelen:3
           RX bytes:38685610 (36.8 Mb)  TX bytes:3909155 (3.7 Mb)




> If you don't have PPP connectivity (modem or ISDN) to the internet,
> you can also use
> 
>    BrowseAddress 255.255.255.255

I use ADSL.

>>
>>> On the CUPS client(s), make sure that cupsd.conf contains
>>>
>>>   Browsing On
>>
>>
>>
>> good.
>>
>>
>>> and that it doesn't include a "BrowseDeny From <cups-server>", but
>>> rather includes a "BrowseAllow From <cups-server>". You are sure to
>>> pick up the server's printer announcements if you set
>>
>>
>>
>>
>>
>>>   BrowseAllow from All
>>>   BrowseDeny from None
>>
>>
>>
>> Very nice.
>>
>>> To be sure, restart cupsd on clients and server. From now on, every
>>> printer added to the server should appear automatically within 30
>>> seconds on the clients, fully usable with all features of the driver.
>>
>>
>>
>> That indeed sounds easy Kurt.
>>
>> But how to get rid of the set up I made myself ?.
>>
> 
> On the clients, delete the locally defined printers (if it was successful).
> Either via KDE tools or by deleting the "/etc/cups/printers.conf" file

Will a new /etc/cups/printers.conf be made ?. I think it will.

>>
>>> Cheers,
>>> Kurt
>>
>>
>>
>> Bis bald alles gute aus Dänemark.
>>
> 
> Cheers,
> Kurt
> 
> 
> _______________________________________________
> kde-print mailing list
> kde-print at kde.org
> https://mail.kde.org/mailman/listinfo/kde-print
> 


-- 
Erik



_______________________________________________
kde-print mailing list
kde-print at kde.org
https://mail.kde.org/mailman/listinfo/kde-print

--------------070604010108010200030404--

[prev in list] [next in list] [prev in thread] [next in thread] 













Med venlig hilsen
Best regards
Erik Jakobsen
eja at urbakken.dk
73 de Erik OZ4KK
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.kde.org/pipermail/kde-print/attachments/20040511/10aaee2b/attachment-0001.html


More information about the kde-print mailing list