> From [EMAIL PROTECTED] Tue Sep 26 11:58:31 2000
> Date: Tue, 26 Sep 2000 12:56:14 -0500
> From: Kent Schumacher <[EMAIL PROTECTED]>
> To: LPRng mailing list <[EMAIL PROTECTED]>
> Subject: LPRng: More classy questions
>
> OK, now I'm totally confused...
>
> I'm trying to use classes to protect certain forms to be printed on.
> This works quite well.  It appears that lprng allows me to use long
> strings as class names instead of simple letters, which is fantastic.
>
> There is only problem.  Once I've specified a string for a class name,
> I can't seem to get the server to tell me what class a print job is.
> This can be a problem if someone else starts the job, or I make a
> typo.
>
> For example:
>
> lpc class vampir bork
>
> date | lpr -Cbobbarker -Pvampir
> date | lpr -Cborland   -Pvampir
>
> lpq -Pvampir
>
> Printer: vampir@panshin  'nam=Epson 740,own=kent,loc=mobile_office' (classes bork)
>  Queue: no printable jobs in queue
>  Holding: 2 held jobs in queue
>  Server: no server active
>  Status: job 'root@panshin+736' removed at 12:44:37.365
>  Filter_status: done at 12:44:33.636
>  Rank   Owner/ID                  Class Job Files                 Size Time
> holdclass root@panshin+221          B   221 (stdin)                 29 12:46:03
> holdclass root@panshin+732          B   732 (stdin)                 29 12:21:03
>
> Some more goofing around...
>
> lpc class vampir bark  # Nothing prints
> lpc class vampir B     # Nothing prints
> lpc class vampir b     # Nothing prints
> lpc class vampir bobbarker # First job prints
> lpc class vampir borland   # Next job prints
>
> So, how do I persuade lpq to give me a more complete description of the
> class a job is classified under?
>
> Thanks,
> Kent

As you might guess, there are options for just about ANYTHING in
LPRng.

See the 'class_in_status' option:

lp:class_in_status:
  :sd=...

This will cause 'lpq' (actually, lpd) to use the full class name
in the status field.

Enjoy!

Patrick


-----------------------------------------------------------------------------
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