Ubuntu as print server

Charles Yao yaocharlesc at gmail.com
Mon Nov 14 13:11:00 UTC 2005


On 11/14/05, 'Forum Post <ulist at gs1.ubuntuforums.org> wrote:
>
>
> Niki Kovacs Wrote:
> > Le dimanche 16 octobre 2005 Ã 21:45 +0200, Chosechu a Ã(c)crit :
>
> >
>
> >
>
> > Here's what I modified to a stock cupsd.conf. My print server being at
>
> > 192.168.1.1 <http://192.168.1.1>:
>
> >
>
> > Port 631
>
> > #
>
> > #Listen 127.0.0.1:631 <http://127.0.0.1:631>
>
> >
>
> > #BrowseAddress x.y.z.255
>
> > #BrowseAddress x.y.255.255
>
> > #BrowseAddress x.255.255.255
>
> > #BrowseAddress 255.255.255.255 <http://255.255.255.255>
>
> > #BrowseAddress @LOCAL
>
> > BrowseAddress 192.168.1.255 <http://192.168.1.255>
>
> >
>
> > <Location />
>
> > Order Deny,Allow
>
> > Deny From All
>
> > Allow From 127.0.0.1 <http://127.0.0.1>
>
> > Allow From 192.168.1.*
>
> > </Location>
>
> >
>
> > <Location /admin>
>
> > #
>
> > # You definitely will want to limit access to the administration
>
> > functions.
>
> > # The default configuration requires a local connection from a user
> > who
>
> > # is a member of the system group to do any admin tasks. You can
> > change
>
> > # the group name using the SystemGroup directive.
>
> > #
>
> >
>
> > AuthType Basic
>
> > AuthClass System
>
> >
>
> > ## Restrict access to local domain
>
> > Order Deny,Allow
>
> > Deny From All
>
> > Allow From 127.0.0.1 <http://127.0.0.1>
>
> > Allow From 192.168.1.*
>
> >
>
> > #Encryption Required
>
> > </Location>
>
> >
>
> > .... and on the client side, /etc/cups/client.conf:
>
> >
>
> > #ServerName myhost.domain.com <http://myhost.domain.com>
>
> > ServerName 192.168.1.1 <http://192.168.1.1>
>
> >
>
> > Restart CUPS on server AND client side.
>
> >
>
> > $ lpstat -t
>
> > scheduler is running
>
> > system default destination: HL2030
>
> > device for HL2030: usb:/dev/usb/laserprinter
>
> > HL2030 accepting requests since Jan 01 00:00
>
> > printer HL2030 is idle. enabled since Jan 01 00:00
>
> > kikinovak (AT) ninthcircle (DOT) hell:~/Sites/spiptest/dist$
>
> >
>
> > [color=blue]
>
> > >
>
> > > Finally I got some administrative-like interface inside a
>
> > > web browser, but strictly nothing to set up network stuff.
>
> > > There is a message mentioning the use of a GUI in
>
> > > Administration/Printing but this one does not have anything
>
> > > about printer sharing or network configuration.
>
>
>
hi niki,

im a complete noob, and im trying to understand what you wrote so please
bear with me.

Say my print server is 192.168.0.111 <http://192.168.0.111> and my clients
are 192.168.0.112-115. How should i set the conf file?

Charles
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20051114/aa586e17/attachment.html>


More information about the ubuntu-users mailing list