Changeset 919
- Timestamp:
- 04/15/03 19:39:57 (22 years ago)
- Location:
- pykota/trunk
- Files:
-
- 4 modified
Legend:
- Unmodified
- Added
- Removed
-
pykota/trunk/conf/pykota.conf.sample
r903 r919 99 99 # requester: external(npadmin --pagecount %(printer)s) 100 100 # 101 # Another example, for AppleTalk printers which works fine : 102 # (You need the pap CUPS backend installed, and copy the 103 # pagecount.ps file from untested/netatalk into /etc) 104 # requester: external(/usr/bin/pap -p "%(printer)s:LaserWriter" /etc/pagecount.ps 2>/dev/null | grep -v status | grep -v Connect) 105 # 101 106 # This value can be set either globally or per printer or both. 102 107 # If both are defined, the printer option has priority. -
pykota/trunk/NEWS
r917 r919 77 77 78 78 - Some minor bugs which happened in rare situations were fixed. 79 80 - Support for AppleTalk printers was added, see sample configuration 81 file for details. 79 82 80 83 - 1.02 : -
pykota/trunk/README
r900 r919 97 97 future. 98 98 99 PyKota is known to work fine with HP Laserjet 2100 and 2200 100 networked printers, and should work with any SNMP-enabled 101 network printer capable of outputing its lifetime printed pages 102 number. 103 104 If your printers don't support SNMP, then making them work with 105 PyKota is up to you. Some sample scripts which can query non-SNMP 106 printers for their lifetime page counter are included in the 107 ./untested directory. You'll have to test and adapt them though, and 108 define them as external requesters in the PyKota configuration file. 99 PyKota is known to work fine with HP Laserjet 2100 and 2200, and 100 Apple LaserWriter 16/600 PS. 101 102 It should also work fine with any printer capable of outputing 103 its lifetime printed pages counter via either SNMP or AppleTalk. 104 105 If your printers don't support SNMP or AppleTalk, then making them 106 work with PyKota is up to you. Some sample scripts which can query 107 non-SNMP printers for their lifetime page counter are included in 108 the ./untested directory. You'll have to test and adapt them though, 109 and define them as external requesters in the PyKota configuration 110 file. See the sample configuration file to learn how to do that. 109 111 110 112 ============================================================ … … 130 132 - PostgreSQL's PygreSQL Python extension and the PostgreSQL client 131 133 libraries. 132 - SNMP tools (specifically the snmpget command) 134 - SNMP tools (specifically the snmpget command) if you plan to 135 request your printer's lifetime page counter via SNMP. 136 - Netatalk (specifically the pap command) if you plan to 137 request your printer's lifetime page counter via AppleTalk. 133 138 134 139 You need to have the following tools installed on the Quota Storage -
pykota/trunk/untested/netatalk/netatalk.sh
r918 r919 3 3 # $Id$ 4 4 # 5 # The following was adapted from a post found on usenet, 6 # it works with my Apple LaserWriter 16/600 PS. 5 # The following was adapted from a post found on usenet. 6 # 7 # It works with my Apple LaserWriter 16/600 PS and with 8 # my HP LasetJet 2100 TN with AppleTalk enabled. 9 # 7 10 # As always, YMMV. 8 11 # 9 /usr/bin/pap -p "MyPrinter:LaserWriter" pagecount.ps 2>/dev/null | grep -v status | grep -v Connect 10 12 echo Please uncomment one of the lines, adapt the script and restart. 13 echo You can get AppleTalk printer\'s names with the nbplkup command. 14 # /usr/bin/pap -p "RAMPAL-16/600:LaserWriter" pagecount.ps 2>/dev/null | grep -v status | grep -v Connect 15 # /usr/bin/pap -p "LaserJet 2100 NT:LaserWriter" pagecount.ps 2>/dev/null | grep -v status | grep -v Connect