Spool structure

Top  Previous  Next

The XSPOOL repository is composed by a set of directories in which the print files are stored. At the top level of the repository, there is the root directory which path is addressed by $XSPOOLDIR environment variable. The root contains the following sub-directories:

tmp

This directory is mandatory and its name must be written in lower case. Usually it contains temporary files.

conf

This directory is optional and it can be used to contain the configuration file, unless $XSPOOLCONF environment variable is set to path the configuration file somewhere else.

groups directories

This type of directory is used to store the repositories of groups of users. Each group directory contains one or more user directory.

user directories

For each user defined in the XSPOOL configuration file (xspool.conf) there must be a directory to store its files. This directory must contain "queue" and "deleted" subdirectories.

I.e.

<SPOOL_HOME>
|
|
+- spool -+- conf
         |
         +- tmp
         |
         +- groupA -+- user1 -+- deleted
         |          |         +- queue
         |          |
         |          +- user2 -+- deleted
         |          |         +- queue
         |          |
         |          +- user3 -+- deleted
         |          |         +- queue
         |          |
         |
         |
         +- groupB -+- user4 -+- deleted
         |          |         +- queue
         |          |
                    +- user5 -+- deleted
                    |         +- queue
                    |