View previous topic :: View next topic |
Author |
Message |
snakattak3 Guru
Joined: 11 Dec 2002 Posts: 468 Location: Seattle
|
Posted: Fri Jan 07, 2005 4:26 am Post subject: [SOLVED] Samba Printing |
|
|
I've been wrestling this for a couple days now, to no avail. I'm just trying to set up samba for printing. My share definitions work on my gentoo box from Mac OSX, but not my printing. I can add the printer to the mac osX box, through their cute setup progam, and its all fine and dandy till I try and print something. Once I print, the dialog comes up, and it says "Printing" under status, but "will retry in 10 seconds". Basically I can tell its half working. I've followed the guides here and here, but for the most part, I just can't quite figure it out. It might be a permission problem, and I've tried several different configurations. I am open to all suggestions. Here's my smb.conf
Code: | #======================= Global Settings =====================================
[global]
workgroup = SPRINGFIELD
netbios name = Otto
server string = Samba Server %v
log file = /var/log/samba3/log.%m
max log size = 50
#Printing
load printers = yes
browseable = yes
printing = cups
printcap name = cups
printer admin = @snakattak
encrypt passwords = yes
smb passwd file = /etc/samba/private/smbpasswd
lock directory = /usr/local/samba/var/lock
interfaces = eth0
bind interfaces only = yes
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
local master = yes
wins support = yes
security = user
passdb backend = tdbsam
#guest
guest ok = yes
guest account = nobody
[print$]
comment = Printer Drivers
# this path holds the driver structure
path = /etc/samba/printer
guest ok = yes
browseable = yes
read only = yes
# add a username to the write list
# if you don't want root to be the only
# printer admin
write list = snakattak,root
[printers]
comment = All Printers
path = /var/spool/samba
browseable = no
public = yes
guest ok = yes
read only = yes
printable = yes
create mode = 0700
printer admin = snakattak,root
[HPDeskJet970C]
comment = HP DeskJet 970C Network Printer
printable = yes
path = /var/spool/samba
browsable = yes
public = yes
guest ok = yes
read only = yes
hosts allow = 127.0.0.1 192.168.2.
printer admin = snakattak,root
[homes]
comment = Home Directories
browseable = no
[video]
path = /home/snakattak/vids
write list = snakattak
| Oh yea, and printing works fine from the local machine, just not through samba. _________________ Ban Reality TV!
Adopt an Unanswered Post
Last edited by snakattak3 on Fri Jan 07, 2005 9:03 am; edited 1 time in total |
|
Back to top |
|
|
snakattak3 Guru
Joined: 11 Dec 2002 Posts: 468 Location: Seattle
|
Posted: Fri Jan 07, 2005 9:03 am Post subject: |
|
|
Well, I figured it out. For some reason, the apple update replaced the /etc/cups/cups.conf on the OSX box, and so I just reverted to the cups.conf.applesave one (prior version to software update) and now all is good. I can view and modify the printer through cups web interface too. _________________ Ban Reality TV!
Adopt an Unanswered Post |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|