![]() |
CAPS Universe documentation
1.0.4
All you need to know to be successful
|
Whenever a printer device is connected to the host, the printer preparation tool caps-printer-prep runs as a preparation step prior the Printer Driver Launcher.
It runs with special permissions in order to prepare the filesystem content when a printer device occurs the very first time. In contrast, if a connected printer device is already known, caps-printer-prep terminates immediately.
To decide what has to be done, caps-printer-prep consults the existing Printer Device Database. If it finds this specific printer already present, it just terminates - because its job was already done. If the just connected printer device is new and yet not known, it adds this printer device to the Printer Device Database and creates the required printer specific subdirectory (refer CAPS Printer Device Parameter Directory for details) and a default setup INI first.
It has to be run as user root to ensure all newly created data and files are owned by the correct user and the permissions are safe.
In oder to run this tool on printer device attachment, specific features of udev and systemd are used.