Wij hebben op onze verdieping van ons studentenhuis een printerserver staan. Hier is een Mannesmann Tally T9208 laserprinter op aangesloten. Deze zou als het goed is compatible moeten zijn met een hp laserjet 4. Nu proberen we al een tijdje om het aantal printjes electronisch te tellen. Maar het lukt niet
Wij gebruiken Redhat 7.3 en dit is onze printcap
# /etc/printcap
#
# DO NOT EDIT! MANUAL CHANGES WILL BE LOST!
# This file is autogenerated by printconf-backend during lpd init.
#
# Hand edited changes can be put in /etc/printcap.local, and will be included.
laserprinter:\
:ml=0:\
:mx=0:\
:sd=/var/spool/lpd/laserprinter:\
:af=/var/spool/lpd/laserprinter/laserprinter.acct:\
:sh:\
:lp=/dev/lp0:\
:lpd_bounce=true:\
:if=/usr/share/printconf/util/mf_wrapper:
###############################################################################
## Everything below here is included verbatim from /etc/printcap.local ##
###############################################################################
# printcap.local
#
# This file is included by printconf's generated printcap,
# and can be used to specify custom hand edited printers.
:rw=/dev/lp0
:af=/laserprinter.log :\
:ifh=model=hp4 :\
# :ifhp=model=hp4,pagecount@,-T'accounting=/usr/libexec/filters/UTILS/accounting.sh' :\
# :if=/usr/libexec/filters/UTILS/accounting.sh start :\
# :filter=/usr/libexec/filters/ifhp :\
# :if=/usr/libexec/filters/UTILS/accounting.sh end :\
# :if=/usr/libexec/filters/ifhp,pagecount@,status@,sync@ -Taccounting=/usr/libexec/filters/UTILS/accounting.sh :\
# :of/usr/libexec/filters/ofhp :\
# :of=/usr/libexec/filters/UTILS/accounting.sh start:\
# :filter=/usr/libexec/filters/ifhp :\
# :of=/usr/libexec/filters/UTILS/accounting.sh end :\
# :as=/usr/libexec/filters/ifhp -Taccounting=/usr/libexec/filters/UTILS/accounting.sh :\
# :ae=/usr/libexec/filters/ifhp :\
:as=|/usr/libexec/filters/UTILS/accounting.sh start :\
:ae=|/usr/libexec/filters/UTILS/accounting.sh end :\
:if=/usr/libexec/filters/ifhp :\
:of=/usr/libexec/filters/ifhp :\
# :vf=/usr/libexec/filters/ifhp -c :\
# :ifhp=sync=ps :\
:fx=fplv :\
# :sh:sf :\
Zijn er misschien mensen die hier iets van af weten?
Wanneer wij een text bestand uit printen wordt in de log file wel het goede aantal printjes aangegeven voor afgaande door een T maar de pagecount P blijft nu P0
Alvast bedankt
Wij gebruiken Redhat 7.3 en dit is onze printcap
# /etc/printcap
#
# DO NOT EDIT! MANUAL CHANGES WILL BE LOST!
# This file is autogenerated by printconf-backend during lpd init.
#
# Hand edited changes can be put in /etc/printcap.local, and will be included.
laserprinter:\
:ml=0:\
:mx=0:\
:sd=/var/spool/lpd/laserprinter:\
:af=/var/spool/lpd/laserprinter/laserprinter.acct:\
:sh:\
:lp=/dev/lp0:\
:lpd_bounce=true:\
:if=/usr/share/printconf/util/mf_wrapper:
###############################################################################
## Everything below here is included verbatim from /etc/printcap.local ##
###############################################################################
# printcap.local
#
# This file is included by printconf's generated printcap,
# and can be used to specify custom hand edited printers.
:rw=/dev/lp0
:af=/laserprinter.log :\
:ifh=model=hp4 :\
# :ifhp=model=hp4,pagecount@,-T'accounting=/usr/libexec/filters/UTILS/accounting.sh' :\
# :if=/usr/libexec/filters/UTILS/accounting.sh start :\
# :filter=/usr/libexec/filters/ifhp :\
# :if=/usr/libexec/filters/UTILS/accounting.sh end :\
# :if=/usr/libexec/filters/ifhp,pagecount@,status@,sync@ -Taccounting=/usr/libexec/filters/UTILS/accounting.sh :\
# :of/usr/libexec/filters/ofhp :\
# :of=/usr/libexec/filters/UTILS/accounting.sh start:\
# :filter=/usr/libexec/filters/ifhp :\
# :of=/usr/libexec/filters/UTILS/accounting.sh end :\
# :as=/usr/libexec/filters/ifhp -Taccounting=/usr/libexec/filters/UTILS/accounting.sh :\
# :ae=/usr/libexec/filters/ifhp :\
:as=|/usr/libexec/filters/UTILS/accounting.sh start :\
:ae=|/usr/libexec/filters/UTILS/accounting.sh end :\
:if=/usr/libexec/filters/ifhp :\
:of=/usr/libexec/filters/ifhp :\
# :vf=/usr/libexec/filters/ifhp -c :\
# :ifhp=sync=ps :\
:fx=fplv :\
# :sh:sf :\
Zijn er misschien mensen die hier iets van af weten?
Wanneer wij een text bestand uit printen wordt in de log file wel het goede aantal printjes aangegeven voor afgaande door een T maar de pagecount P blijft nu P0
Alvast bedankt