Libinklevel - Check the ink level of your printer with linux


Project page Description News Printers supported Printers not supported What to do if your printer is not yet supported License Download Installation and usage Feedback

Description

Libinklevel is a library for checking the ink level of your printer on a system which runs Linux. It supports printers attached via parallel port or usb.

News

01/07/2004 Release of version 0.6.3. Support for HP Business InkJet 1100 has been fixed. Minor bugfixes have been performed. The source code has been split into several files for better maintainability and extensibility.
26/02/2004 Project moved to Sourceforge.
10/01/2004 Release of version 0.6.2. Support for HP printers has been improved: Separate cartridges for each color and addon photo cartridges are now detected.
05/12/2003 Release of version 0.6.1. A segmentation fault when the printer did not terminate its device id with a semicolon has been fixed.
03/12/2003 Release of version 0.6. Error reporting is now much more verbose. The name of the printer is returned.
14/09/2003 Release of version 0.5. Support for Epson printers has been much improved.
07/09/2003 Release of version 0.4. Now with support for Epson printers.
27/08/2003 Release of version 0.3. Now the soname of the library is correctly set up.
27/08/2003 Release of version 0.2. Now also works if you do not use devfs.
25/08/2003 Initial version released and web page set up.

Printers supported

The following printers are supported by the current version:

Printers not supported

The following printers cannot be supported because they do not transmit their inklevel:

What to do if your printer is not yet supported

Support for most HP and Epson printers which transmit their ink level should now be included. Just give it a try and let
me know the result so that I can add your printer to the appropiate list. Canon and Lexmark printers will be supported when I can get information on how to retrieve their inklevel. If you have information on how to retrieve the ink level of Canon or Lexmark printers, let me know.

License

This software is licensed unter the GPL. It comes with no warranty.

Download

Installation and usage

You need gcc installed. libieee1284 is required. You may have to edit the Makefile to suit your needs.
tar xzf libinklevel-0.6.3.tar.gz
cd libinklevel
vi Makefile
make
make install
Users of programs which make use of libinklevel need read/write permission on the device the printer is connected to. For parallel port printers this is /dev/parport[portnumber] and /dev/lp[portnumber], for usb printers this is /dev/usb/lp[portnumber].

After that install some software which makes use of libinklevel. Currently there are ink (command line), kink (KDE), inkblot (Gnome) and gmso (Gnome). If you have written some software which makes use of libinklevel, let me know so that I can add a link to it here.

Feedback

Send comments, suggestions, critics to Markus Heinz.
© Markus Heinz - last changed 30/09/2004

SourceForge.net Logo