SUMMARY: printer accounting software

From: Wolfgang Leideck (leideck@informatik.uni-mannheim.de)
Date: Thu Nov 11 1999 - 06:50:12 CST


Hallo.
Thanks for your replies. Most of you told me to use shell skripts of modify
the printer interfaces. That was the solution.
We use the hp jetadmin printer software and i have added some lines to the
interface scripts. Here they are

# original script
...
if $HPNPBIN/psbr
then
  if [ "$jobm" = "yes" -a -x "$XJETMON" ]
  then
esac
# break of original script

# the new lines
PCOUNT=`tail $STATUSLOG | grep "total printed pages:" | awk -F' ' '{print
$10}'`
#if duplex we must divide the number of pages by 2
PCNT=`expr $PCOUNT / 2`
echo "User $user has printed $PCNT pages at job $job" | mail

# the original script continues
echo "$REALMODEL $options" >> $LOG
echo "$HPNPF $HPNPFOPT" >> $LOG

And here my original question:
> Hello,
> i'm looking for a piece of software which mails me
> - the number of printed pages of a print job
> - the name of the user of that print job
> - the name of the document
> Can somebody help me?
>
> Wolfgang

Thanks again
Wolfgang

-- 
Wolfgang Leideck      * University of Mannheim * Dep. PI III
D7,27                 * Raum 409               * D 68161 Mannheim
Fon: +49 621 181 2583 * Fax: +49 621 181 2588
Email: leideck@informatik.uni-mannheim.de



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:13:32 CDT