Download Latest Version ink_level_1.zip (4.1 kB)
Email in envelope

Get an email when there's a new version of ink_level

Home
Name Modified Size InfoDownloads / Week
inklevel_0.1_all.deb 2013-10-30 5.0 kB
Readme 2013-08-21 922 Bytes
ink_level_1.zip 2012-02-05 4.1 kB
Totals: 3 Items   10.0 kB 0
Ink_level
=============

ABOUT
=====

The program presents the ink levels of an inkjet printer in a diagram.
It takes the ink levels from a tool called 'ink' whitch you can install from Ubuntu software center.
Tool 'ink' starts from terminal by using the commands:

sudo modprobe usblp
sudo ink -p usb
sudo modprobe -r usblp

From inside program 'ink_level' we get the printer status the same way:

os.popen('sudo modprobe usblp')
os.popen('sudo ink -p usb > /tmp/level.txt')
os.popen('sudo modprobe -r usblp')

INSTALLATION
============

1. You need to have package python-tk installed from the synaptic or
   type in terminal: ~$ sudo apt-get install python-tk. 
2. Install program 'ink' from software center or 
   type in terminal ~$ sudo apt-get install ink.

3. Copy ink_level folder anywhere under /home
4. Switch printer on.
5. The Program starts from terminal with the command:
   ~$ python 'ink_level.py'

   


Source: Readme, updated 2013-08-21