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