This is a little http server which allow to show the
remaining ink quantity as well as the printer state and
furthermore to perform a few maintenance operations.

Aligment of head and exhange of ink cartridge are at
this stage not implemented.

This version is a very early work and work at least
for my Stylus Photo 890

Dependencies:
-------------

Python must be installed
the mtink package, see http://xwtools.automatix.de,
must be installed

Configuration:
--------------

The default installation is performed under /usr/local.
I you want an other top dierectory call
./configure -p <your_top_path>

Note that the top directory for mtink must be the
same as for pyink


Installation:
-------------

call, as root "make install"

The directory <your_top_path>/lib/pyink will be
created and the required files are copied to this
location.

Lauching the pyink server:
--------------------------

call simply "pyink.sh" which was installed under
<your_top_path>/bin

Calling the server from a browser:
----------------------------------
enter the URL "http://<server_name_or_IP>:8000"

Your browser shall now ask for the device file. After
selecting a device file and clicking [OK], the browser
shall show the remainink ink quantity, the printer state
and offer a few printer commands.

If the printer was not found the browser will show an
error message which can be aknowledged by pressing of[OK]
oe which allow to reconfigure the server (choose an other
device file) by clicking [Reconfigure].

The configuration datas are stored by the server so you
need not to configure the server after a restart.

Internationalisation:
---------------------

The Browser must be able to printout the textes with UTF-8 code.
If this is not the case for you browser. A few text resoures are
necessary for ttink, there are derived from the mtink resource
files. The other text resources are from ttink wich was modified
in order to work with utf-8 and non utf-8 code.

uninstallation:
---------------

issue, as root, the commands:
rm <your_top_path>/bin/pyink.sh
rm -fr <your_top_path>/lib/pyink

Author:
-------

Jean-Jacques Sarton jj.sartonqt-online.de

http://xwtools.automatix.de
