Llista mail debian <[EMAIL PROTECTED]> writes:

> Hi All!
> 
>       I want to do a printing quota under Linux using de LPRng. The
> quota system is very easy (Quota = Quota - Num_lines_printed), but I don't
> know who to interact with de LPR, I need a filter? How I put my script in
> the filter? (I see that de lpf filter give me de number of lines printed)

It is easy to print out rubbish on a large amount of pages using a one
line ps file. What do you want to do in such a case?

>       The idea is that anybody send de text to the printer, before print
> it, I need to check de quota and if the quota is "OK" then print else "not
> print".

I would try to use a printer which is capable to report the pages
printed and base the quota on this information. 

See package cti-ifhp for more information.

HTH,

Jens

-- 
[EMAIL PROTECTED]       [EMAIL PROTECTED]
KeyID: 2048/E451C639 1998/01/28
Print: 5F 3D 43 1E 24 1E CC 48  1E 05 93 3A A7 10 73 37
"Das ist halt der Unterschied: Unix ist ein Betriebssystem mit Tradition,
 die anderen sind einfach von sich aus unlogisch."
                -- Anselm Lingnau in de.comp.os.unix.discussion

Reply via email to