Karamba Ink Level Monitor

Karamba & Superkaramba

Source (link to git-repo or to original if based on someone elses unmodified work): Add the source-code for this project on opencode.net

0
5 .0
Description:

This is a little Karamba doohickey I threw together to monitor the ink levels in my Epson printer.

TO MY KNOWLEDGE, THIS WILL ONLY WORK ON AN EPSON PRINTER!!!

It requires the escputil program, which comes with gimp-print. The "escputil" program must be in your path, and you must have rw access to your printer's raw device.

To install:

1) cd to your Karamba directory (e.g., /usr/share/apps/karamba) and untar the tarball.

2) Edit the ink.pl script and enter:
the number of ink colors in your printer
your raw printer device.

3) If you have a six ink printer, use ink_six.theme. If you have a four ink printer, use the normal ink.theme file.

Hope some of you find it useful.
Last changelog:

17 years ago

*Ink Level Monitor 0.5 (16 Apr 2003)
Added support for six ink printers

*Ink Level Monitor 0.4.1 (12 APr 2003)
Fixed stupid error in .theme file

*Ink Level Monitor v0.4 (12 Apr 2003)
Initial release

jcphil

17 years ago

It's a nice idea and I do have an Epson printer. But when I start Karamba with this theme, I don't see anything on my screen. I tried it again as root and still no results. I do have esputil and it can read my ink levels. I also installed the ink.pl script in /usr/local/bin. So, what else would it take to make it work?

Report

C

Praxxus

17 years ago

1) You configured the ink.pl script

2) Just running the "ink.pl" script by itself generates a set of numbers

Report

jcphil

17 years ago

I modified ink.pl so that the raw device would be /dev/lp0. Now when I run the script, I see the expected output. But when I run the Karamba theme, I still see nothing.

Report

jcphil

17 years ago

Got it now. The x,y coordinates were off the screen.

Report

StuLTissimus

17 years ago

This is pretty cool. It's a great idea. Unfortunately, I don't have an Epson in my room, and I'll go through all that trouble to walk 5 feet to my other computer with the Epson.

But this is a great idea. It really shows the capabilities of Karamba. Now, if only it stopped being eyecandy and was something like Slicker...

Report

C

Praxxus

17 years ago

If you have SSH set up to log in to the remote machine without a password, just make the following change:

Instead of:
my @ink = `$prog -q -i -r $raw`;

use:

my @ink = `ssh $HOST $prog -q -i -r $raw`;

Substituting the name of the remote computer for $HOST, of course. That should work.

Report

17 years ago

*Ink Level Monitor 0.5 (16 Apr 2003)
Added support for six ink printers

*Ink Level Monitor 0.4.1 (12 APr 2003)
Fixed stupid error in .theme file

*Ink Level Monitor v0.4 (12 Apr 2003)
Initial release

12345678910
product-maker Base: 4 x 5.0 Ratings
Be the first to comment
File (click to download) Version Description Downloads Date Filesize DL OCS-Install MD5SUM
*Needs pling-store or ocs-url to install things
Pling
0 Affiliates
Details
license
version
0.5
updated Apr 16 2003
added Apr 12 2003
downloads 24h
0
mediaviews 24h 0
pageviews 24h 0