SUMMARY:printer Quota

From: Emad Ragy Anwar (emanwar@aucegypt.edu)
Date: Sat Oct 10 1998 - 08:01:51 CDT


Hello all,

Thanks a lot to Ulf Noren .....

I knew about the the LPRng system but I want some thing more easer than
that .....
my original message was .....

I will be so grateful if anyone could help me in setting up a users
quota for an HP laser printer on a SPARC machine running Solaris 2.6
with NIS+. ( I want to limit the number of pages that each user can
print )
Thanks in advance
Waiting for your kind replays and comments…….

and here what I got from Ulf Noren

You need to replace your lpr printing system with the LPRing stuff. This

> is a re-write
> of lpr/lpd but with major enhancements. They talk about HP printers a

> LOT.
> They speciallize in this sort of stuff. Sorry I don't have the link
> handy, but do have there
> own web page handy. It is distributed much the same as Samba ,
> and works a treat on Red Hat, where it is the default printing
system.
>
I have been running this setup for more than a year now and it works
great
with HP laserjet 4M, 5M and 5SiMX printers. My HP deskjet 1600M wasn't
really up to it but I didn't need accounting on it so I haven't bothered

so much.
All printers are connected to the net with JetDirect-cards.

What you need to do is replace your current printing-system with
LPRng and CTI-if-filters from ftp.astart.com.

As database I use Mysql from www.tcx.se. It holds information about
which printers each user can use, how many papers printed and how many
pages can be printed before he/she has to refill the account.

A couple of perl-scripts is run for each job to check permissions and
update accounts.

The number of pages printed is calculated from the hardware-counter
in the printer which is checked by the ifhp-filter before and after
each job is sent to the printer.

Running on Solaris 2.5.1 btw...

/Ulf

--

Emad R. Anwar Computer Science Dept. American University in Cairo



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:12:50 CDT