Canon Utility
CanonUtil
The CanonUtil program is a fltk or Motif based program which allows to perform
some operations as:
- Cleaning the nozzle
- Adjusting the head automatically as far as supported by your printer
- Handling of the powering off/on for the printer
- Reading and displaying of the printer state
The use of the fltk or Motif toolkit is determined at configuration time.
If fltk is available, fltk will be choosen. If fltk is not available,
and openMotif lessTif was found, the Motif version will be
generated.
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 (fltk version):
- -bg '#RRGGBB'
Set the background color
- -nb
Force use of normal button
- -gl
Force use of the openGL painting.
- -display display_name
Set the display to wanted screen
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