Re: Ubuntu as print server

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Re: Ubuntu as print server

chrisccoulson

Niki Kovacs Wrote:
> Le dimanche 16 octobre 2005 ?  21:45 +0200, Chosechu a écrit :

>

>

> Here's what I modified to a stock cupsd.conf. My print server being at

> 192.168.1.1:

>

> Port 631

> #

> #Listen 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

> #BrowseAddress @LOCAL

> BrowseAddress 192.168.1.255

>

> <Location />

> Order Deny,Allow

> Deny From All

> Allow From 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

> Allow From 192.168.1.*

>

> #Encryption Required

> </Location>

>

> .... and on the client side, /etc/cups/client.conf:

>

> #ServerName myhost.domain.com

> ServerName 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.

>

> Forget the GUIs. I'm a Slack veteran, so believe me: vi is your friend

> for configuring your PC :oD (I l-o-v-e Ubuntu though... first
> non-Slack

> distro I really dig)

>

> HTH,

>

> Niki Kovacs

>

> PS: check out Carla Schroder's excellent online tutorial about the

> subject (CUPS in a network)

>

> Just had to say "Thank-You!". I'm able to print from the othere machine
> in my mini network now. I have to say again that this is one of the best
> forums for linux help on the net. I have yet to havee someone say to me
> "RTFM"

>

> Cheers,

>

> George

>

> --:D


--
Mgcross

--
ubuntu-users mailing list
[hidden email]
http://lists.ubuntu.com/mailman/listinfo/ubuntu-users
Reply | Threaded
Open this post in threaded view
|

Re: Ubuntu as print server

Charles Yao


On 11/14/05, 'Forum Post <[hidden email]> wrote:

Niki Kovacs Wrote:
> Le dimanche 16 octobre 2005 à 21:45 +0200, Chosechu a écrit :

>

>

> Here's what I modified to a stock cupsd.conf. My print server being at

> 192.168.1.1:

>

> Port 631

> #

> #Listen 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

> #BrowseAddress @LOCAL

> BrowseAddress 192.168.1.255

>

> <Location />

> Order Deny,Allow

> Deny From All

> Allow From 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

> Allow From 192.168.1.*

>

> #Encryption Required

> </Location>

>

> .... and on the client side, /etc/cups/client.conf:

>

> #ServerName myhost.domain.com

> ServerName 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 and my clients are 192.168.0.112-115. How should i set the conf file?

Charles

--
ubuntu-users mailing list
[hidden email]
http://lists.ubuntu.com/mailman/listinfo/ubuntu-users