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 53 54 55 56 57 58 59 60 61 62 63 64 65
|
For information regarding this software visit its homepage:
http://ink.sourceforge.net/
Installation and usage
----------------------
You need gcc installed. libieee1284 (on Linux only) and libinklevel >= 0.8.0
are required.
tar xzf ink-0.5.1.tar.gz
cd ink-0.5.1
./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 CVS 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 either "parport" or "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. You need read/write permission on the device the printer is
connected to. If you have an usb printer you can also specify the device
the printer is connected to directly by invoking ink like this:
ink -d /dev/usblp0
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
Usage on OpenSolaris
-------------------------------------
Addtionally to the above methods of invocation you can access a parallel port
printer too by specifying the printer device node like this:
ink -d /dev/printers/0
Markus Heinz <markus.heinz@uni-dortmund.de>
|