[Samba] smbclient queue command issue
erowell at gmail.com
Wed Jun 23 05:47:29 MDT 2010
Thank you so much for your time on this. This is great, it worked.
I now can do what is currently required for listing and canceling
I'm good with using numeric job control codes. I'm going to be
embedding these program calls into a set of programs which will be
running these commands for the users. This will allows the values for
that field to be whatever is required. Man I have spent way too much
time trying to get the RAP versions working, guess I should have
posted more details a few weeks ago.
I hope the people who have asked me if anyone has got it this
working are reading. You have provided me and some other people out
there a great set of solutions. May not be where we expected but it
is solved. I never even looked at the rpcclient and it is very
Eric B. Rowell
On Tue, Jun 22, 2010 at 5:49 PM, Jeremy Allison <jra at samba.org> wrote:
> On Tue, Jun 22, 2010 at 05:37:08PM -0400, Eric Rowell wrote:
>> Tried the following after poking around:
>> rpcclient -c "setjob printer 1340 job_control_cancel" -U username PrinterServer
>> rpcclient -c "setjob printer 1340 job_control_delete" -U username PrinterServer
>> It doesn't error but it didn't cancel or delete the job.
> The "setjob" function uses a numeric job control code
> (which sucks, I know :-).
> So you need to do the following :
> rpcclient -c "setjob printer 1340 5" -U username PrinterServer
> for job control delete.
Eric B. Rowell
More information about the samba