Canon Utility

CanonUtil

The CanonUtil program is a fltk based program which allows to perform some operations as:

Normal operations are performed via the CUP line printing system.
For systemes which don't use the cups system you may modify the sources so that the printer list can be recognized.
I use the commands:
/usr/sbin/lpc status for detecting of the available printers
and the command:
/usr/bin/lpr -P{queue_name} -oraw -r for handling of the print jobs.

The printer state will only been returned by reading of a device file. In order to use this possibility you must have enough right for writing and reading to/from the device file. The device file must also allow a bidirectional communication.

Syntax

The following arguments are understood by CanonUtil:

Installation

Compile with make
make a directory /usr/local/lib/CanonUtil or /usr/lib/CanonUtil
copy the file *.res and *.htmlto this directory.
copy the file CanonUtil to /usr/local/bin or /usr/bin
change the rights for CanonUtil with chmod 4755 /usr/local/bin or chmod 4755 /usr/bin according to he destination directory.

Internationalization

The file *.res contain the text for all textes displayed. You may translate this and create your own resource file which will must be named:
CanonUtil_ll.res.
ll repesent the first 2 characters for your language (it for italian, fr for french, ...).

Author

Jean-Jacques Sarton

jj.sarton@t-online.de
http://xwtools.automatix.de

licence

The GPL apply, show at the included file LICENCE.txt