[Samba] "lprm command" problem
Manuel Arenaz
arenaz at udc.es
Wed May 28 14:34:23 GMT 2003
Hello,
I have successfully installed samba 2.2.8
(with CUPS) as a windows printing server using the
print$ share. The W2000 clients are able to send
jobs to a printer and view the corresponding
printer queue.
However, when I try to delete a job from the
windows client, I get the error "bad command".
My printers share in smb.conf is:
[printers]
comment = All Printers
path = /tmp
create mask = 0700
browseable = yes
guest ok = yes
writable = no
printable = yes
print command = /usr/bin/lp -d %p -o raw %s
lpq command = /usr/bin/lpstat -o %p
lprm command = /usr/bin/cancel %p-%j
The command "/usr/bin/cancel" works fine in the
linux server. May the error be due to bad
replacement of the "%p-%j" string?
Any help would be appreciated.
Thanks in advance,
Manuel Arenaz
More information about the samba
mailing list