Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] Samba Printing
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
snakattak3
Guru
Guru


Joined: 11 Dec 2002
Posts: 468
Location: Seattle

PostPosted: Fri Jan 07, 2005 4:26 am    Post subject: [SOLVED] Samba Printing Reply with quote

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
View user's profile Send private message
snakattak3
Guru
Guru


Joined: 11 Dec 2002
Posts: 468
Location: Seattle

PostPosted: Fri Jan 07, 2005 9:03 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
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