npadmin: Scriptable, command line, network printer adminstration tool
PurposeModern network printers are quite easily managable across a network. However, until now, the only tools that make use of these capabilities are the vendor supplied products such as Web JetAdmin by HP, Marknet by Lexmark, Centreview by Xerox or PhaserLink by Tektronix. The problem is that all of these tools are fundamentally GUI based applications and there is no way to incorporate their functionality into scripts. This program is designed to be called from scripts to find things out about printers.
VersionThe current version is 0.8.4.
Source code: npadmin-0.8.4.tar.gz (104k)
Supported printersThis program was makes heavy use of RFC 1759, the common printer MIB. It should work on almost any printer that supports the common printer MIB. Some special hooks have been implemented to give make some features available on the HP printers that don't support the common printer MIB, but functionality is severely curtailed. Here are the printers that I have tested it with. If you try it on a printer not listed here please let me know the results. I will either add it to the supported printer list or the non-supported printer list.
Supported OSsnpadmin was written and debugged on Red Hat Linux 5.2 which means that it will probably always work with Linux with glibc.
0.7.2 I've heard that Version 0.7.2 is has worked without modification on Solaris, Irix, FreeBSD and HPUX. People also have gotten it to work with AIX, and SCO OpenServer 5 (believe it or not).
0.8.2 There were a lot of changes between 0.7.2 and 0.8.0 and so I expect quite a few problems with the ports. Specifically, I made use of the pthreads library and I expect some difficulty with how different OS's handle threads. If you are interested in getting it to work on other platforms please contact me ( email:email@example.com). I will be happy to work with you to attempt a port.
Help outIf you would like to help out, there are quite a few things that would be very helpful:
CreditsThe following people have helped me or contributed code:
Last modified: Wednesday, 08-Mar-2000 02:14:43 UTC
npadmin Copyright © 1998 Cisco Systems.
npadmin is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA