1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52
|
For information regarding this software visit its homepage:
http://ink.sourceforge.net/
Installation and usage
----------------------
You need to have gcc or another C compiler installed. libinklevel >= 0.8.0 and
its dependencies are required.
tar xzf ink-0.5.3.tar.gz
cd ink-0.5.3
./configure
make
make install
Additionally you can build a RPM package on RPM based systems by running
make rpm
If you want to build a version from the git repository you have to run
autoreconf --force --install
before you can run the above commands. Additionally you will need autoconf and
automake installed on your system.
Run the program as follows:
ink -p <port> [-n <portnumber>] [-t <threshold>]
where port is "usb" and portnumber is the number of the port to which your
printer is connected. The portnumber is optional and defaults to 0. The
optional parameter t specifies a threshold which will have the effect that only
ink levels less than or equal to the threshold will be output.
For querying the first Canon network printer use ink like this:
ink -p bjnp
For querying a specific Canon network printer the following will do:
ink -b bjnp://<URI_of_printer>
or
ink -b bjnp://<IP_address_of_printer>
For getting version information about ink and libinklevel run it like this:
ink -v
Markus Heinz <markus.heinz@uni-dortmund.de>
|