testei o comando que tu me deste, mas não adiantou... olha o erro que ele me gera....
[2004/08/23 10:21:51, 0] printing/print_cups.c:cups_printer_fn(108)
Unable to connect to CUPS server localhost - Conexão recusada
[2004/08/23 10:21:51, 0] printing/print_cups.c:cups_queue_get(854)
Unable to connect to CUPS server localhost - Conexão recusada
[2004/08/23 10:26:01, 0] printing/print_cups.c:cups_queue_get(854)
Unable to connect to CUPS server localhost - Conexão recusada
[2004/08/23 10:30:12, 0] printing/print_cups.c:cups_queue_get(854)
Unable to connect to CUPS server localhost - Conexão recusada
to passando tb o meu smb.conf
[global]
workgroup = samba
netbios name = samba
announce as = NT Server
server string = Samba [%v]
printcap name = /etc/printcap
load printers = yes
printing = cups
# log por maquina
log file = /var/log/samba/log.%m
max log size = 100
debug level = 1
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
# passwords
password level = 8
smb passwd file = /etc/samba/smbpasswd
unix password sync = no
encrypt passwords = yes
null passwords = no
username map = /etc/samba/smbusers
passwd program = /usr/bin/passwd %u
passwd chat = *New*password* %n\n *Retype*new*password* %n\n \
*passwd:*all*authentication*tokens*update*successfully*
security = user
guest ok = yes
# PDC
os level = 100
local master = yes
domain master = yes
preferred master = yes
domain logons = yes
#hosts e dns
hosts equiv = /etc/hosts
hostname lookups = yes
hosts allow = 192.168.0.
dns proxy = no
# logon
logon path = \\%L\profiles\%U
logon script = login.bat
message command = /usr/bin/x11/linpopup "%f" "%m" %s ; rm %s
[pdf]
comment = Gerador de PDFs
path = /var/spool/samba
printable = yes
guest ok = yes
use client driver = yes
browseable = yes
writeable = no
print command = /usr/bin/ps2pdf -dEmbedAllFonts=true %s /home/%U/`echo "%J" | tr -d ' ' | sed 's/Microsoft//' | \
tr -d [\&\%\=\?\+] | tr '\\\' '/' | xargs basename | sed 's/....$/.pdf/' | sed 's/\.\./\./' 2>>/var/spool/samba/err; \
rm -f %s; /usr/bin/find /home/%U/ -type f -cmin +1440 -exec rm -f {} \;
lpq command = echo "Printer: %[email protected] (dest ps2pdf)"; echo " Queue: no printable jobs in queue"; echo " Status: Ready"
Mais alguma idéia????