Hello all, I am running Samba 3.0.9 with CUPS 1.1.17. When my windows user try to pause print jobs it does not work and gives them an error "Error Processing Command" in Windows. If they try to cancel a print job it doesn't give any error. It just disappears from the print queue and print anyway. Could someone point me in the right direction? Thanks all Dominic Iadicicco
Hi, reading smb.conf, I found lprm command (S) This parameter specifies the command to be executed on the server host in order to delete a print job. This command should be a program or script which takes a printer name and job number, and deletes the print job. If a %p is given then the printer name is put in its place. A %j is replaced with the job number (an integer). Note that it is good practice to include the absolute path in the lprm command as the PATH may not be available to the server. Default: lprm command = # depends on the setting of printing Example: lprm command = /usr/bin/lprm -P%p %j Example: lprm command = /usr/bin/cancel %p-%j Maybe this will help you. There is also a lpq command directive Kind regards Juergen Hoffmann Am Montag, den 09.01.2006, 10:26 -0500 schrieb Dominic Iadicicco:> Hello all, > > I am running Samba 3.0.9 with CUPS 1.1.17. When my windows user try to > pause print jobs it does not work and gives them an error "Error Processing > Command" in Windows. If they try to cancel a print job it doesn't give any > error. It just disappears from the print queue and print anyway. > > Could someone point me in the right direction? > > > Thanks all > > Dominic Iadicicco-------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: Dies ist ein digital signierter Nachrichtenteil Url : http://lists.samba.org/archive/samba/attachments/20060109/a145716d/attachment.bin
I have checked the logs and don't see any errors. Also I read that if I am using Printing=cups that any of the custom command like (lppause= or lpc=) would be ignored. Is that true. On 1/9/06, Fabio <fabio.marcone@duet.it> wrote:> > hello > first of all I suggest you to upgrade samba (latest is 3.0.21a). > > In the last version some bugs about jobs (remote downlevel document) are > fixed. > > However check your samba and cups logs. > > bye, > fabio > > Hello all, > > > > I am running Samba 3.0.9 with CUPS 1.1.17. When my windows user try > to > > pause print jobs it does not work and gives them an error "Error > > Processing > > Command" in Windows. If they try to cancel a print job it doesn't give > > any > > error. It just disappears from the print queue and print anyway. > > > > Could someone point me in the right direction? > > > > > > Thanks all > > > > Dominic Iadicicco > > -- > > To unsubscribe from this list go to the following URL and read the > > instructions: https://lists.samba.org/mailman/listinfo/samba > > > > >
> When my windows user try to pause print jobs it does not work and > gives them an error "Error Processing Command" in Windows. If they > try to cancel a print job it doesn't give any error. It just > disappears from the print queue and print anyway.I think this means the users don't have the necessary permissions in Samba. Have a look at the Samba manual in the section about permissions to see how to allow users to pause/cancel print jobs. Cheers, Adam.