Ubuntu as print server

'Forum Post ulist at gs1.ubuntuforums.org
Mon Nov 14 09:05:41 UTC 2005


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




More information about the ubuntu-users mailing list