Last modified on $Date: 2005-10-09 22:39:06 +0200 (dom 09 de oct de 2005) $
PyKota comes with a number of shell scripts which help do complex things. They can be used as-is, but you may prefer to adapt them to your own configuration. All are installed in the /usr/share/pykota directory.
This script which accepts a printer's hostname or IP address as its first parameter is used to wait for a printer which supports the SNMP protocol to be in idle state. It exits as soon as the printer is idle, else loops forever.
When defining an hardware accounter for a printer, it is important to wait for the printer being idle before asking it for its internal page counter, otherwise results could be inaccurate. If the printer is asked while the job is still being printed, then the page counter's value will be lower than expected with regard to the real job's size.
waitprinter.sh can be used to be sure that PyKota waits until no job is being printed, and no paper sheet is travelling inside the printer.
![]() | Tip |
---|---|
See the sample configuration file conf/pykota.conf.sample for examples. |