APPX generates print files into the “/tmp/” directory by default. You can change the location of the print files by setting the environment variable APPX_PRT_FI_DIR to the name of an existing directory. The directory specified by APPX_PRT_FI_DIR must include a trailing “/” character.
The interface to the Unix ‘lp’ command is in a shell script named ‘appx_print’. ‘appx_print’ is a Bourne shell script invoked by APPX to deliver a print file to the Unix print spooler. The format of the options file is documented in ‘appx_print’ and is subject to change in future releases.
When APPX invokes ‘appx_print’, it passes two parameters to it: the name of an options file and the name of the print file. The options file is a flat ASCII file containing the Disposition information specified by the user at the time the print file was generated. The ‘appx_print’ script (as provided with APPX) simply generates an “lp” command line based on the disposition information contained in the options file.
‘appx_print’ creates a readable copy of its last call to ‘lp’ in “/tmp/appx_print.last”. This file is useful for debugging.
This appendix includes a discussion on customizing 'appx_print' as well as descriptions of the disposition options used by 'appx_print'.