Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37046711
en ru br
Репозитории ALT
S:0.9.4-alt1
5.1: 0.7.2-alt1
4.1: 0.7.2-alt1
3.0: 0.6.3-alt2
www.altlinux.org/Changes

Группа :: Система/Библиотеки
Пакет: libinklevel

 Главная   Изменения   Спек   Патчи   Исходники   Загрузить   Gear   Bugs and FR  Repocop 

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Libinklevel</title>






<link href="libinklevel_files/style.css" type="text/css" rel="stylesheet">
<meta name="author" content="Markus Heinz">
<meta name="description" content="A linux library to display your current level of ink in the printer">
<meta name="keywords" content="libinklevel, linux, ink level, printer, library, Tintenstand, Abfrage"></head><body>
<div class="usenet-news-container">
<div id="bc3" class="usenet-news-title">
<h1 class="usenet-news-tagline">
Check the ink level of your printer with linux
</h1>
<h1>Libinklevel</h1>
</div>
<div class="usenet-news-navigation">
<div id="inline-list">
<ul>
<li class="bc1"><a class="menu" title="Sourceforge Project Page" href="http://sourceforge.net/projects/libinklevel">
Sourceforge Project page
</a>
</li>
<li class="bc1"><a class="menu" title="Description" href="#description">
Description
</a>
</li>
<li class="bc1"><a class="menu" title="News" href="#news">
News
</a>
</li>
<li class="bc1"><a class="menu" title="Printers supported" href="#supported">
Printers supported
</a>
</li>
<li class="bc1"><a class="menu" title="Printers not supported" href="#unsupported">
Printers not supported
</a>
</li>
<li class="bc1"><a class="menu" title="A note about Canon printers" href="#note_canon">
A note about Canon printers
</a>
</li>
<li class="bc1"><a class="menu" title="A note about Epson printers" href="#note_epson">
A note about Epson printers
</a>
</li>
<li class="bc1"><a class="menu" title="A note about unsupported printers" href="#what_to_do">
A note about unsupported printers
</a>
</li>
<li class="bc1"><a class="menu" title="License" href="#license">
License
</a>
</li>
<li class="bc1"><a class="menu" title="Download" href="#download">
Download
</a>
</li>
<li class="bc1"><a class="menu" title="Installation and usage" href="#installation">
Installation and usage
</a>
</li>
<li class="bc1"><a class="menu" title="Feedback" href="#feedback">
Feedback
</a>
</li>
</ul>
</div>
</div>
<div>
<br>

<a name="description"></a>
<h2>Description</h2>
<p>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. Currently printers of the following brands are
supported: HP, Epson and Canon. A detailed list of supported printers
can be found <a title="Printers supported" href="#supported">
here</a>. This is not official software from the printer manufacturers.
The goal of this project is to create a vendor independent API for
retrieving the ink level of a printer connected to a Linux box. You
can download the current version from <a title="Download" href="#download">here</a>.</p>

<a name="news"></a>
<h2 style="clear: both;">News</h2>
<table class="newstable">
<tbody><tr>
<th width="15%"></th>
<th width="85%"></th>
</tr>
<tr>
<td>28/07/2007</td>
<td>Release of version 0.7.2. Support for the following printers
has been added: Canon i865, Canon iP3300 and Canon MP160.</td>
</tr>
<tr>
<td>18/03/2007</td>
<td>Release of version 0.7.1. Debugging messages have been fully
disabled. The number of retries when reading from the printer has
been reduced.</td>
</tr>
<tr>
<td>14/03/2007</td>
<td>Release of version 0.7.0. Changes to the last stable release
include: Support for Canon printers has been added, support for HP
and Epson printers has been improved, a new function to query the
version of libinklevel has been added and it is now possible to
directly specify the usb device node to which the printer is
connected to.</td>
</tr>
<tr>
<td>09/03/2007</td>
<td>Release of version 0.6.6rc6. Support for Canon i9100 and i3000
added. Bugs in Canon code fixed. Code for HP printers updated.
Should now support more HP printers than before. Hanging problem
with Epson printers addressed.</td>
</tr>
<tr>
<td>05/10/2006</td>
<td>Release of version 0.6.6rc5. Support for the the following
Canon printers has been added: BJC-6200, iP5000 and iP4000.</td>
</tr>
<tr>
<td>16/09/2006</td>
<td>Release of version 0.6.6rc4. The Epson code has been rewritten
to support more recent printers and to get rid of a bug which
caused blocking of libinklevel when one ink cartridge was
completely empty. Support for the Canon MP360 has been added.
An alternate device file location for USB printers has been added.
Please test with all printers.</td>
</tr>
<tr>
<td>06/09/2006</td>
<td>Release of version 0.6.6rc3. The blocking problem with Canon
printers has been addressed again and is hopefully resolved now.
Detection of different ink cartridge types for certain Canon
printers has been implemented. The interface of libinklevel has
been made more flexible so that it can support any kind of ink
catridge combination. The following Canon printers should now be
supported: iP1000, ip2200, S300, i550, i560, i850, i860, i990,
iP1500, iP4100, iP4200, iP3100.</td>
</tr>
<tr>
<td>20/08/2006</td>
<td>Release of version 0.6.6rc2. A problem with other printer
programs being blocked after using libinklevel has been addressed.
Code cleanup has been performed. Please test with all available
Canon printers and report both success and failure to me. Please
include full debugging output from ink.</td>
</tr>
<tr>
<td>16/08/2006</td>
<td>Release of version 0.6.6rc1. First version with Canon support.
Please test with all available Canon printers and report both
success and failure to me. Please include full debugging output
from ink.</td>
</tr>
<tr>
<td>16/07/2006</td>
<td>Release of version 0.6.5. Functional identical to version
0.6.5rc2. Compiles with gcc Б┴╔ 4.0.0 too.</td>
</tr>
<tr>
<td>03/04/2006</td>
<td>Release of version 0.6.5rc2. The compiler warnings with gcc4
have been fixed.</td>
</tr>
<tr>
<td>26/07/2005</td>
<td>Release of version 0.6.5rc1. This release also compiles with
gcc 4.0.1.</td>
</tr>
<tr>
<td>01/02/2005</td>
<td>Release of version 0.6.4. Newly supported printers include the
HP DeskJet 3320, HP DeskJet 3325, Epson Stylus C64, Epson Stylus
C84 and Epson Stylus C86.</td>
</tr>
<tr>
<td>26/01/2005</td>
<td>Public test of version 0.6.4rc2. HP DeskJet 3320 and HP
DeskJet 3325 equipped with only the tri-colour cartridge should
now be supported.</td>
</tr>
<tr>
<td>16/01/2005</td>
<td>Public test of version 0.6.4rc1. The code for epson printers
has been updated. Please report all successes and failures with
epson printers including full debug output of ink to me.</td>
</tr>
<tr>
<td>01/07/2004</td>
<td>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.</td>
</tr>
<tr>
<td>26/02/2004</td>
<td>Project moved to Sourceforge.</td>
</tr>
<tr>
<td>10/01/2004</td>
<td>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.</td>
</tr>
<tr>
<td>05/12/2003</td>
<td>
Release of version 0.6.1. A segmentation fault when the printer
did not terminate its device id with a semicolon has been fixed.
</td>
</tr>
<tr>
<td>03/12/2003</td>
<td>Release of version 0.6. Error reporting is now much more
verbose. The name of the printer is returned.</td>
</tr>
<tr>
<td>14/09/2003</td>
<td>Release of version 0.5. Support for Epson printers has been
much improved.</td>
</tr>
<tr>
<td>07/09/2003</td>
<td>Release of version 0.4. Now with support for Epson printers.
</td>
</tr>
<tr>
<td>27/08/2003</td>
<td>Release of version 0.3. Now the soname of the library is
correctly set up.</td>
</tr>
<tr>
<td>27/08/2003</td>
<td>Release of version 0.2. Now also works if you do not use
devfs.</td>
</tr>
<tr>
<td>25/08/2003</td>
<td>Initial version released and web page set up.</td>
</tr>
</tbody></table>

<a name="supported"></a>
<h2>Printers supported</h2>
<p>The following printers are supported by the current stable version:
</p>

<ul>
<li>Canon BJC-6200</li>
<li>Canon i550</li>
<li>Canon i560</li>
<li>Canon i850</li>
<li>Canon i860</li>
<li>Canon i865</li>
<li>Canon i990</li>
<li>Canon i3000</li>
<li>Canon i9100</li>
<li>Canon iP1000</li>
<li>Canon iP1500</li>
<li>Canon iP2200</li>
<li>Canon iP3100</li>
<li>Canon iP3300</li>
<li>Canon iP4000</li>
<li>Canon iP4100</li>
<li>Canon iP4200</li>
<li>Canon iP5000</li>
<li>Canon S300</li>
<li>Canon MP160</li>
<li>Canon MP360</li>
<li>Epson Stylus C42</li>
<li>Epson Stylus C46</li>
<li>Epson Stylus C60</li>
<li>Epson Stylus C62</li>
<li>Epson Stylus C64</li>
<li>Epson Stylus C65</li>
<li>Epson Stylus C67</li>
<li>Epson Stylus C70</li>
<li>Epson Stylus C82</li>
<li>Epson Stylus C84</li>
<li>Epson Stylus C86</li>
<li>Epson Stylus C88</li>
<li>Epson Stylus D68</li>
<li>Epson Stylus CX3200</li>
<li>Epson Stylus CX3900</li>
<li>Epson Stylus CX5400</li>
<li>Epson Stylus DX3850</li>
<li>Epson Stylus DX4200</li>
<li>Epson Stylus Color 600</li>
<li>Epson Stylus Color 640</li>
<li>Epson Stylus Color 670</li>
<li>Epson Stylus Color 680</li>
<li>Epson Stylus Color 740</li>
<li>Epson Stylus Color 750</li>
<li>Epson Stylus Color 850</li>
<li>Epson Stylus Color 880</li>
<li>Epson Stylus Photo 780</li>
<li>Epson Stylus Photo 790</li>
<li>Epson Stylus Photo 810</li>
<li>Epson Stylus Photo 820</li>
<li>Epson Stylus Photo 830</li>
<li>Epson Stylus Photo 890</li>
<li>Epson Stylus Photo 915</li>
<li>Epson Stylus Photo 2100</li>
<li>Epson Stylus Photo R200</li>
<li>Epson Stylus Photo R220</li>
<li>Epson Stylus Photo R300</li>
<li>HP Business InkJet 1100</li>
<li>HP Business InkJet 1200</li>
<li>HP DeskJet 920C</li>
<li>HP DeskJet 930C</li>
<li>HP DeskJet 940C</li>
<li>HP DeskJet 950C</li>
<li>HP DeskJet 960C</li>
<li>HP DeskJet 980C</li>
<li>HP DeskJet 990C</li>
<li>HP DeskJet 1220C</li>
<li>HP DeskJet 3320</li>
<li>HP DeskJet 3325</li>
<li>HP DeskJet 3550</li>
<li>HP DeskJet 3650</li>
<li>HP DeskJet 3740</li>
<li>HP DeskJet 3820</li>
<li>HP DeskJet 3940</li>
<li>HP DeskJet 5100</li>
<li>HP DeskJet 5440</li>
<li>HP DeskJet 5550</li>
<li>HP DeskJet 5650</li>
<li>HP DeskJet 5652</li>
<li>HP DeskJet 5740</li>
<li>HP DeskJet 5900</li>
<li>HP DeskJet 6122</li>
<li>HP DeskJet 6520</li>
<li>HP DeskJet 6540</li>
<li>HP DeskJet 9300</li>
<li>HP DeskJet 9600</li>
<li>HP DeskJet F300 Series</li>
<li>HP OfficeJet 4100 Series</li>
<li>HP OfficeJet 5100 Series</li>
<li>HP OfficeJet 5600 Series</li>
<li>HP OfficeJet 6200 Series</li>
<li>HP OfficeJet G Series</li>
<li>HP OfficeJet K Series</li>
<li>HP OfficeJet V Series</li>
<li>HP PhotoSmart 1000</li>
<li>HP PhotoSmart 1100</li>
<li>HP PhotoSmart 1115</li>
<li>HP PhotoSmart 1218</li>
<li>HP PhotoSmart 1315</li>
<li>HP PhotoSmart 7150</li>
<li>HP PhotoSmart 7260</li>
<li>HP PhotoSmart 7345</li>
<li>HP PhotoSmart 7350</li>
<li>HP PhotoSmart 7760</li>
<li>HP PhotoSmart 7960</li>
<li>HP PSC 700 Series</li>
<li>HP PSC 900 Series</li>
<li>HP PSC 1100 Series</li>
<li>HP PSC 1200 Series</li>
<li>HP PSC 1300 Series</li>
<li>HP PSC 1315 Series</li>
<li>HP PSC 1400 Series</li>
<li>HP PSC 1500 Series</li>
<li>HP PSC 2110 Series</li>
<li>HP PSC 2150 Series</li>
<li>HP PSC 2175 Series</li>
<li>HP PSC 2200 Series</li>
<li>HP PSC 2210 Series</li>
<li>HP PSC 6100 Series</li>
</ul>

<a name="unsupported"></a>
<h2>Printers not supported</h2>
<p>The following printers cannot be supported because they do not
transmit their inklevel in a way known to me or they do not transmit
it at all:</p>
<ul>
<li>HP DeskJet 540</li>
<li>HP DeskJet 670C</li>
<li>HP DeskJet 680C</li>
<li>HP DeskJet 690C</li>
<li>HP DeskJet 710C</li>
<li>HP DeskJet 720C</li>
<li>HP DeskJet 810C</li>
<li>HP DeskJet 840C</li>
<li>HP DeskJet 845C</li>
<li>HP DeskJet 890C</li>
<li>HP DeskJet 895C</li>
<li>HP DeskJet 1120C</li>
<li>HP DeskJet 3420</li>
<li>HP OfficeJet LX</li>
<li>HP OfficeJet Pro 1150C</li>
<li>HP OfficeJet Pro 1170C</li>
<li>HP OfficeJet Pro 1175C</li>
<li>HP OfficeJet R Series</li>
<li>HP OfficeJet Series 300</li>
<li>HP OfficeJet Series 500</li>
<li>HP OfficeJet Series 600</li>
<li>HP OfficeJet Series 700</li>
<li>HP OfficeJet T Series</li>
<li>HP PSC 300 Series</li>
<li>HP PSC 500 Series</li>
<li>Sony All-in-One IJP-V100</li>
</ul>

<a name="note_canon"></a>
<h2>A note about Canon printers</h2>
<p>Some Canon printers transmit their ink levels as a binary value.
They report only that there is enough ink or not enough ink for a
particular cartridge. Libinklevel then reports 100% or 20%
respectively.</p>

<a name="note_epson"></a>
<h2>A note about Epson printers</h2>
<p>Under some circumstances, especially when one ink catridge is
completely empty, it may take about 20 to 30 seconds to detect the ink
level. Please take this into account before submitting a bug report.</p>

<p>When you query the ink levels before the printer is fully
initialized a sheet of paper will be drawn in. But nothing will be
printed. To avoid this do not query the ink levels before the printer
is fully initialized.</p>

<a name="what_to_do"></a>
<h2>A note about unsupported printers</h2>
<p>Support for most HP and Epson printers which transmit their ink
level should now be included. Just give it a try and let
<a href="mailto:markus.heinz@uni-dortmund.de?subject=libinklevel">me</a>
know the result so that I can add your printer to the appropiate list.
Printers of other manufacturers 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 a not yet supported printer, let
<a href="mailto:markus.heinz@uni-dortmund.de?subject=libinklevel">me</a>
know.</p>

<a name="license"></a>
<h2>License</h2>
<p>This software is licensed under the <a href="http://libinklevel.sourceforge.net/COPYING">GPL</a>
version 2. It comes with no warranty.</p>

<a name="download"></a>
<h2>Download</h2>
<h3>Test releases</h3>
<ul>
<li>
<a href="http://prdownloads.sourceforge.net/libinklevel/libinklevel-0.6.6rc6.tar.gz?download">
libinklevel-0.6.6rc6.tar.gz
</a> (sources)
</li>
<!--
<li>
<a href="http://prdownloads.sourceforge.net/libinklevel/libinklevel-0.6.5rc2.prt.tar.gz?download">
libinklevel-0.6.5rc2.prt.tar.gz
</a> (CRUX port)
</li>
-->
</ul>

<h3>Stable releases</h3>
<ul>
<li>
<a href="http://prdownloads.sourceforge.net/libinklevel/libinklevel-0.7.2.tar.gz?download">
libinklevel-0.7.2.tar.gz
</a> (sources)
</li>
<li>
<a href="http://prdownloads.sourceforge.net/libinklevel/libinklevel-0.7.2.prt.tar.gz?download">
libinklevel-0.7.2.prt.tar.gz
</a> (CRUX port)
</li>
</ul>

<a name="installation"></a>
<h2>Installation and usage</h2>
<p>You need gcc installed.
<a href="http://cyberelk.net/tim/libieee1284/">libieee1284</a> Б┴╔
0.2.11 is required. You may have to edit the Makefile to suit your
needs.</p>
<pre>tar xzf libinklevel-0.7.2.tar.gz
cd libinklevel-0.7.2
make
make install
</pre>

<p><strong>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]
or /dev/usblp[portnumber].</strong></p>
<p>After that install some software which makes use of libinklevel. Currently
there are the following options available:</p>
<ul>
<li><a href="http://ink.sourceforge.net/">ink (command line)</a></li>
<li><a href="http://kink.sourceforge.net/">kink (KDE)</a> and a
<a href="http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-print/kink/files/kink-0.2.1-libinklevel-0.6.6.patch?rev=1.1&amp;view=log">
patch</a> to make kink work with libinklevel v0.6.6rc6</li>
<li><a href="http://www.gnomefiles.org/app.php/Inkblot">
inkblot (Gnome)</a></li>
<li><a href="http://www.gnomefiles.org/app.php/GMSO">
gmso (Gnome)</a></li>
<li><a href="http://www.python.org/pypi?:action=display&amp;name=pyinklevel">
Python bindings</a></li>
<li><a href="http://www.kde-look.org/content/show.php?content=20634">
Ink Level Monitor (KDE)</a>.</li>
<li><a href="http://code.google.com/p/qink/">qink (qt4)</a></li>
</ul>
<p>If you have written some software which makes use of libinklevel, let
<a href="mailto:markus.heinz@uni-dortmund.de?subject=libinklevel">me</a>
know so that I can add a link to it here.</p>

<a name="feedback"></a>
<h2>Feedback</h2>
<p>Send comments, suggestions, critics to
<a href="mailto:markus.heinz@uni-dortmund.de?subject=libinklevel">
Markus Heinz</a>.</p>

<br clear="all">
</div>
<div class="footer">
<a href="http://validator.w3.org/check?uri=referer">
<img src="libinklevel_files/valid-xhtml10" alt="Valid XHTML 1.0 Transitional" align="right" border="0" height="31" width="88">
</a>
<a href="http://sourceforge.net/">
<img src="libinklevel_files/sflogo.php" alt="SourceForge.net Logo" border="0" height="37" width="125">
</a>
<br>
б╘ Markus Heinz. Last changed on 13/12/2007. |
Design adapted from <a title="Free Usenet News from Usenet Newsgroups" href="http://www.usenet-news.org/">Usenet News</a>.
</div>
</div>

</body></html>
 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin