> From [EMAIL PROTECTED] Mon Dec  3 11:19:48 2001
> Date: Sat, 1 Dec 2001 15:02:50 -0500
> From: Joel Hammer <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> Subject: Re: LPRng: lpd.perms has me confused
>
> Thanks for your reply.
> There is a pause support in samba.
> Running:
> strings `which smbd` | grep  lppause   
> gives:
> lppause command  
> I have in my printer share in samba:
> lppause command = /usr/sbin/lpc hold z53 %j  
> The lpc command does run when the windows client tries to pause a print job from
> the windows queue.
> The reason why the lpc pause command failed from windows was because of this
> line in lpd.perms:
> ACCEPT SERVICE=C LPC=lpd,status,printcap
> Adding hold, release to that line seems to have made things work.
> Joel

If you are running your print spooler on the Samba host,
I suspect that you might be happier using:

ACCEPT SERVICE=C SERVER LPC=hold,release

and adding the appropriate 'release' command to release the job.

>
>
>
> On Sat, Dec 01, 2001 at 09:55:16AM -0800, Patrick Powell wrote:
> > > From [EMAIL PROTECTED] Wed Nov 28 16:35:00 2001
> > > Date: Wed, 28 Nov 2001 18:42:19 -0500
> > > From: Joel Hammer <[EMAIL PROTECTED]>
> > > To: [EMAIL PROTECTED]
> > > Subject: LPRng: lpd.perms has me confused
> > >
> > > Using windows to access  a printer on a samba server running lprng, everything
> > > works except, after I pause a print job, I cannot release it. It says I
> > > don't have the right to access the printer. I can delete the job though.
> > > This must be a permission deal with lpc based on what is in lpd.perms, I am
> > > guessing. Howerver, I can't make heads or tails out of lpd.perms. Can
> > > someone offer me a line  for lpd.perms which will allow access for a user on
> > > the same host that sent the job to resume the job?
> > > Thanks,
> > > Joel
> > 
> > How are you pausing the print job?
> > 
> > You might NOT be pausing it...
> > 
> > I didn't know that samba had a 'pause' support...
> > 
> > Patrick

-----------------------------------------------------------------------------
YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST
The address you post from MUST be your subscription address

If you need help, send email to [EMAIL PROTECTED] (or lprng-requests
or lprng-digest-requests) with the word 'help' in the body.  For the impatient,
to subscribe to a list with name LIST,  send mail to [EMAIL PROTECTED]
with:                           | example:
subscribe LIST <mailaddr>       |  subscribe lprng-digest [EMAIL PROTECTED]
unsubscribe LIST <mailaddr>     |  unsubscribe lprng [EMAIL PROTECTED]

If you have major problems,  send email to [EMAIL PROTECTED] with the word
LPRNGLIST in the SUBJECT line.
-----------------------------------------------------------------------------

Reply via email to