On 14 Dec 1998, Jens Ritter wrote: > 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?
I need to filter the file and only permit to print a plain text. > > 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. Is an old printer and doesn't have this capabilities.