Printer

Erik Jakobsen eja at urbakken.dk
Thu Feb 5 21:40:39 CET 2004


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.250  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.199.7.181  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


More information about the kde-print mailing list