[Samba] "lprm command" problem
Joel at HammersHome.com
Thu May 29 01:13:58 GMT 2003
They say you should not have any print commands defined in smb.conf when
you are using cups.
On Wed, May 28, 2003 at 04:45:13PM +0200, Manuel Arenaz wrote:
> 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:
> 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
More information about the samba