Please enable JavaScript to view this site.

A-Shell Reference

PREFIX = <DevPPN filespec (default PFX extension)>

SUFFIX = <DevPPN filespec (default SFX extension)>

Example:   PREFIX = SYS:JET.PFX

If either PREFIX or SUFFIX or both are specified, the corresponding file is sandwiched as a prefix or suffix to the main file to be spooled, and the resulting sandwich is passed to the printer as if it were one file. (This prevents the possibility of another printer job slipping in between the prefix and main file if they were spooled as separate reports.) These optional commands provide a lot of flexibility in maintaining different logical versions of the same physical printer. Also note that the PREFIX and SUFFIX arguments on SPOOL override these parameters in the printer ini file. PREFIX and SUFFIX apply to both Windows and Unix.

Under Unix, several printing options, including PREFIX and SUFFIX, involve the creation of temporary files. By default, these are stored in the same directory as miame.ini (which must therefore have write privileges for all users.) To put these files in another location (perhaps in a directory mapped to a PPN, create an environment variable ASHTMP and set it to the desired path (e.g. ASHTMP=/vm/miame/dsk0/001002).