CSS Unitec Home Page
      

Administrator Utility

 csa(U)

Synopsis   Platforms   Description   Options   Notes   See also

Synopsis

/etc/csa option...
bin\csa option...    (Windows NT)

Platforms

Unix, Windows NT

Description  

Description The main purpose of the csa program is to perform all special tasks of the spooler administration. Its location and protection imposes the use by the system administrator root. All of the various reorganization options (-RDSK) should whenever possible be executed in single user mode. If this is not the case, precautions have to be taken, to ensure that the spooler is in an idle state.

Options

-a

Show the number of current active printers on standard output and as exit code (may be useful in shutdown scripts).

-d Compiles the printer definition database /etc/css.devices.
-f Compiles the forms definition database /etc/css.forms.
-i dev Start printer dev if ready and print jobs available. (Printers that have been stopped with csu -s dev, will not be started by this option.)
-I Starts all printers that are ready and prints waiting jobs.
-k date Remove all printed reports from the queue whose keep-date is equal or older than date. (Date format: yyyymmdd / see also cssdate).
-K date Remove all printed and unprinted reports from the queue whose keep-date is equal or older than date. This and the above function may be defined to take place automatically (see css.default(C)).
-l file Show report file (UNIX file name) on the screen. Lines exceeding 80 characters are truncated.
-L file Likewise / without reduction of the line length.
-x dev Activate printer dev (This option activates all printers, event those who are on hold or are inactive and do not respond by any other reason). See also lpdrestart).
-X Activate all printers.
-D Initialize and if necessary reorganize the printer administration. If the device database has been corrupted, it cannot be reorganized. Rather it has to be removed by rm /usr/lib/css/dev (CssNT: del lib\dev)and recreated by csa -d.
-E file Print report file file (Unix file name) on the standard output. (This action invokes a decompression and is mostly used to recover lost reports by the pipe csa -E file | lpr...).
-R Initialize and if necessary reorganize the report queue. If the report database has been corrupted, it cannot be reorganized. Rather it has to be removed by rm /usr/lib/css/rep (CssNT: del lib\rep) and recreated by csa -R.
-S Short cut for -RDi1.
-U Generates CSS recover commands for current report queue.
-y dev Show device information for device dev.
-Y Show device information for all devices.
-z form Show form information for form form.
-Z Show form information for all forms.

Notes

In most installations, csa will be executed in the file /etc/rc:

csa -RDK `cssdate` -i 1;

or, if the report administration with keep-dates is not used:
csa -S;

See also

cssdate, css.default(C), csu, lpdrestart, lpr

 

Back to top