I am trying to print from a windows ME and 2k client to my debian linux
server. I am using samba 2.2alpha3 and I can smbclient //host/printer and
acutally `print /tmp/test` and it works fine, but when it comes down to
printing from windows, nothing happens. I've tried to follow the logs, and
at one point I also had a queue in /tmp, but now I don't even see that.
I tried to remove the [printers] section, and I could not even see printers
in windows after that. I have also tried redefining print so that instead
of running lpr it would echo some data to a debugging file, but it appears
that samba/cups will only allow printing to lpr, because when I logged onto
my printer share when I did that and typed print <file> it would not echo
information back to a debug file, but would print the file via lpr or
however cups handles it internally with samba.
I've poured through my logs and cannot find useful information either.
Thanks for any help!!! Also, I will need a reply to this e-mail address as
I am not subscribed to the list yet.
-George
<smb.conf>
[global]
workgroup = WORKGROUP
server string = (Samba %v)
interfaces=192.168.0.2/24 127.0.0.1/24
bind interfaces only = Yes
#server string = Samba Server
browseable = yes
# enable printing with cups
printing = cups
printcap name = cups
load printers = yes
# print command = /usr/bin/lpr -oraw -P%p %s
# print command = /tmp/saveprint %p %s
# lpq command = /usr/bin/lpstat -o %p
# lprm command = /usr/bin/cancel %p-%j
# log file = /var/log/samba/log.%m
log file = /var/log/samba/%m.log
debug timestamp = No
max log size = 100
log level = 5
read bmpx = No
time server = Yes
lock directory = /var/lock/samba
locking = no
strict locking = no
share modes = yes
security = SHARE
null passwords = yes
socket options = TCP_NODELAY
# Allows the Samba server to become a domain controller
os level = 65
preferred master = Yes
dns proxy = No
wins support = Yes
guest account = smbuser
hide dot files = No
# Facilitates the long names recognition
preserve case = no
short preserve case = no
character set = iso8859-1
[homes]
comment = Home Directories
preexec = /bin/sh -c 'echo /usr/bin/smbclient -M %m -I %I'&
browseable = yes
readonfiltered= no
writable = yes
create mode = 0750
public = yes
[public]
comment = Public
path = /home/public/
read only = No
create mask = 0664
directory mask = 0775
guest ok = Yes
[data]
comment = Data
path = /home/samba/data
read only = No
create mask = 0660
directory mask = 0770
guest ok = Yes
[printers]
comment = All Printers
browseable = yes
path = /tmp
# to allow user 'guest account' to print.
guest ok = yes
writable = yes
printable = yes
create mode = 0700
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com