# EZSPL Config Files
> [HTML Version](ezsplconfigfiles.htm)
The first thing EZSPL (SPOOL) does upon being called is look for configuration files. The A-Shell version of the configuration file search path is much more abbreviated than the AMOS version, consisting only of the following:
EZ:.SFL
EZ:.SPG
EZ:.SPR
EZ:.SPL
MEM:SYSTEM.SPL
SYSTEM.SPL\[p,pn\]
SYSTEM.SPL\[p,0\]
EZ:SYSTEM.SPL
If none of these are found, then printing proceeds as if EZ-SPOOL did not exist. Otherwise, it opens the first file it finds and process the parameters contained within. The parameters supported under A-Shell are:
ASKPRT=
AUTOWIDTH=
BRIEF=
DEFAULT=
EXTOPT=
MENU=
OPTIONS=
PRINTER=
PRTSPL=spooler1,description (up to 64 PRTSPL statements)
SWITCHES=
TYPE=
WAIT=<# seconds>
Each of these statements must be in all upper case, with no spaces, except within a description field. (e.g. "MENU = ON" and "menu = On" are invalid). Boolean options are "ON", "OFF", "YES", "NO", "TRUE" and "FALSE".
The lines of the configuration file are scanned from the top. For most parameters, if more than one instance of the parameter is processed, the last instance overrides earlier instances. The main except is the DEFAULT option, which only has an effect if no printer has been set (and no previous DEFAULT option processed). PRTSPL parameters are additive. The file may be broken into sections pertaining to individual users by prefixing the section with a line formatted as \[_username_\]. Lines between one \[_username_\] header and another are skipped unless the current username matches the name in the header. Two special \[username\] values may be used: a section with the header \[always\] is always processed, while a section with the header \[default\] is only processed if no previous username-specific section has yet been processed. (\[always\] and \[default\] don't count as username-specific sections.)
User name is determined by the native operating system logon procedure, and can be seen in the [SYSTAT](systat_lit.htm.md) display or retrieved with [GETUSN](getusn_sbr.htm.md). It is not case sensitive in this context.
u **EZSPL Sample Config File**
MENU=OFF
TYPE=OFF
ASKPRT=OFF
PRTSPL=PDFX,PDF Printer
\[jack\]
MENU=ON
TYPE=ON
ASKPRT=ON
DEFAULT=JET2
PRTSPL=JET2,Jack's Jet Printer
\[always\]
PRTSPL=JET1,Common Jet Printer
PRTSPL=DRAFT,Oki draft
\[default\]
DEFAULT=JET1
In the above case, the first four lines are always processed. They could have been preceded with another \[always\] header, or combined with the other \[always\] section. The five lines under \[jack\] are only processed if the user is jack, in which case the boolean options would override the previously set ones, the DEFAULT printer would only apply if no printer had been previously specified (by the application or in miame.ini), and the PRTSPL line defining the JET2 printer would be added to the previous set of printers (currently containing only PDFX). The \[always\] section always gets processed. The \[default\] section would only be processed for users other than jack.
The capability of adding sections for individual users allows a great deal of flexibility for large systems.
**See Also**
• [EZSPL Config File](ezspl_config_file.htm.md)