gimp-installInitScript / askPrinter
Only for Linux
These utilities are helpers and used for creating of the configuration file
/etc/mtinkd.conf.
The file /etc/mtinkd.conf is used for starting of the mtinkd daemon and contain
the arguments passed to the server.
AskPrinter use special call in order to retriewe the identity of the devices
attached to the usb or parallel ports.
Example:
askPrinter /dev/usb/lp0
askPrinter /dev/lp0
If a printer is detected, the identification string will be returned.
Asking for the printer identification on the USB port will only work on newer
2.4 kernels.
For the parallel port. the ppdev kernel module must be installed.
Bugs:
While asking for the description of the printer on the parallel port, askPrinter
use /dev/parport* and /dev/parports/* instead of /dev/lp* and the script
gimp-installInitScript assume that the port number is the same for
both devices.
Author:
Jean-Jacques Sarton
jj.sarton@t-online.de
http://xwtools.automatix.de