[cups.general] Remote administration and Printing from a Fedora Core 10 Print Server
Tod Thomas
fr33zone at gmail.com
Thu Oct 15 08:07:48 PDT 2009
I have a LAN that I'd like all machines to be able to print from a
central print server.
I've installed CUPS and Samba on a FC10 machine that I want to use as
the print server. I have a mix of hard wired and wireless machines that
I want to be able to use it to print from. They are running a mix of
Windows and Linux. I want the windows boxes to be able to 'discover'
the available printers on the network to avoid needing to configure each
one individually.
My cupsd.conf looks like this:
Listen *:631
Loglevel debug
ServerName MyPrintSrv
#ServerName 192.168.5.20
Browsing On
BrowseProtocols cups
BrowseOrder Deny,Allow
BrowseAllow from @LOCAL
<Location />
Order Deny,Allow
Deny From All
# Allow From 127.0.0.1
Allow From 192.168.10.*
</Location>
<Location /admin>
AuthType Basic
AuthClass System
Order Deny,Allow
Deny From All
# Allow From 127.0.0.1
Allow From 192.168.10.*
</Location>
<Location /printers/epson>
Order Deny,Allow
Deny From All
# Allow From 127.0.0.1
Allow From 192.168.10.*
AuthType None
</Location>
.... and my smb.conf looks like this:
[global]
workgroup = homelan
server string = Samba Server Version %v
netbios name = MyPrintSrv
interfaces = lo eth0 192.168.5.0/24 192.168.10.0/24
hosts allow = 127. 192.168.5. 192.168.10.
log file = /var/log/samba/log.%m
max log size = 50
security = user
passdb backend = tdbsam
load printers = yes
cups options = raw
printcap name = cups
printing = cups
[homes]
comment = Home Directories
browseable = no
writable = yes
valid users = %S
[printers]
comment = All Printers
path = /var/spool/samba
browseable = no
guest ok = yes
public = yes
writable = no
printable = yes
....and my printers.conf looks like:
<Printer Okidata>
Info Okidata OL-600e
Location Home
DeviceURI parallel:/dev/lp0
State Idle
StateTime 1255298225
Accepting Yes
Shared Yes
JobSheets none none
QuotaPeriod 0
PageLimit 0
KLimit 0
OpPolicy default
ErrorPolicy stop-printer
</Printer>
Currently, my windows machines can't see the printer and can't seem to
connect to it. On the linux side I'm not sure what the best way to
establish a connection is. I tried configuring the printer using the
linux client cups web interface but that doesn't seem to be working.
I initially had trouble on the server side cups interface because it
doesn't allow remote administration by default but I think I have that
working correctly now. Oddly though on the server web interface when I
configure the printer some of the selections on the manage printer
section (Reject jobs, Move all jobs, etc) all point to 127.0.0.1:631
than the host name. Everything else remote administration wise seems to
work fine.
So I guess my questions are:
- Can I get CUPS/SAMBA configured so that windows can see the printers?
- If so can I give them the ability to print w/o logging on first?
- Do my config files look ok or is something wrong/missing?
- How do I get my linux clients configured to be able to print on the
print server?
- Is there a way to get them to see the available printers dynamically
like I want for windows?
- What would be the best method(s) for debugging this?
- What information can I provide to make my setup a little clearer?
- Is there a tutorial or document available that describes what I'm
trying to do?
Thanks in advance,
Tod
More information about the cups
mailing list