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




-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba

Reply via email to