Accessing printers both directly and via cups server.

andre andre at soziologen.org
Tue Jul 25 20:42:04 PDT 2006


> andre <andre at soziologen.org> wrote (Tuesday 25 July 2006 05:16):
>
> > With my laptop, I am working in different environments.
>
> Which version of CUPS? Which distro?
sorry, I was a bit unspecific as it seemed to be my
very general problem and not cups's...
i use gentoo stable, cups-1.1.23

>
> > While adding network printers directly to my server is straightforward
> > enough, I am now having trouble integrating a cups print server as well.
> >
> > The printer is attached locally via parallel port to to the cups server.
> > Using my machine as client works fine, but then I can't use the network
> > printers elsewhere without disabling the ServerName in client.conf again.
> > Which is what the docs suggest, but not a nice option.
> >
> > Obviously I'm missing something obvious.
>
> Don't use the client.conf *at* *all*. Disable the ServerName there
> altogether.
yes, i got that far.
>
> Instead, set up the notebook (=client?) to run a cupsd, with a
> cupsd.conf like this:
>
>    Browsing On
>    #BrowseAddress #commented out!
>    BrowseAllow All
>    BrowseDeny None
>    BrowseOrder Deny,Allow
>
> Your server's cupsd.conf should have this:
>
>    Browsing On
>    BrowseAddress @Local
>
> [ if "@LOCAL" does not work, use the valid broadcast address for your
> LAN, possibly like "192.168.1.255" ]
>
> That would may your server "announce" its printers (since it has a
> BrowseAddress to send the info to), and your client pick up the info
> (since it does no BrowseDeny, and does a BrowseAllow for any server
> source). Of course, the server must additionally be set up to accept
> this client's jobs; but you seem to have that in place already in
> any case, otherwise your client.conf wouldn't have worked either.
>
> Cheers,
> Kurt

Yes -- thank you very much. I didn't get to grasps with the
"Browsing" terminology and functionaltiy. Which is the
obvious bit I had missed.

While things still won't work on my system, this problem is
solved nice and proper -- I used Knoppix and your
excellent KDE frontend and all went well -- and ended
in a client side config just as you told me.
Wonder why :-)
I should have thought of it earlier.

Now for tracking trouble down on my Gentoo system :-(

Thanks and best,

Andre





More information about the cups mailing list