This section explains the different environment variables and techniques available in Oracle Reports for the debugging of UNIX printing problems.
If this environment variable is set, the file-finding routine lists what was searched for and where Oracle Reports searched for it. This information is a tremendous help if your current configuration does not work. You can send the output to a file,
stdout (for standard output), or to
stderr (for output to standard error). If you try to send the output to a file and it cannot be written to, Oracle Reports uses
We recommend sending the output to a file because it is faster and the output can be quite large. Sample output from
DEBUG_SLFIND is shown below. Notice how the debug information generated helps you identify the various setup issues, such as which PPD and AFM files are being referred to and their location.
You can see all of the following in this output:
The various environment variables, such as
TK_AFM, and their values.
The resource files, such as the PPD and AFM, and their locations, which helps you to determine if any are the missing.
The default location of various resource files under
slsfindfile(): checking environment variable TK_PPD(8). slsfindfile(): environment variable not set slsfindfile(): checking environment variable ORACLE_PPD(10). slsfindfile(): environment variable not set slfpath(): looking up path /oraclehome/guicommon/tk/admin/PPD/ slfexist(): testing /oraclehome/guicommon/tk/admin/PPD slfexist(): testing /oraclehome/guicommon/tk/admin/PPD/default.ppd slsfindfile():returned /oraclehome/guicommon/tk/admin/PPD/default.ppd slfindfile(): type = 39 (AFM)slfindfile(): name = Courier-Bold slsfindfile(): checking environment variable TK_AFM(8). slsfindfile(): environment variable not set slsfindfile(): checking environment variable ORACLE_AFM(10). slsfindfile(): checking ORACLE_HOME environment variable. slsfindfile(): environment variable set to /oraclehome (len=18) slfpath(): looking up path/oraclehome/guicommon/tk/admin/AFM/ slfexist(): testing /oraclehome/guicommon/tk/admin/AFM slfexist(): testing /oraclehome/guicommon/tk/admin/AFM/Courier-Bold slsfindfile():returned /oraclehome/guicommon/tk/admin/AFM/Courier-Bold slfindfile(): name = uiprint.txt slsfindfile(): checking ORACLE_HOME environment variable. slfpath(): looking up path/oraclehome/guicommon/tk/admin/ slfexist(): testing /oraclehome/guicommon/tk/admin slfexist(): testing /oraclehome/guicommon/tk/admin/uiprint.txt slsfindfile(): returned /oraclehome/guicommon/tk/admin/uiprint.txt
This variable effects the PostScript output generated by Oracle Reports. Table 10-5 shows the settings for this variable.
Function lists each toolkit function called in comments in the PostScript output.
Long produces more intelligible PostScript output but runs much more slowly than normal PostScript generation.
Memory displays memory usage at the bottom of each page.
Any of the options can appear in the environment variable, abbreviated down to one letter. You can set it to any combination of these, separated by "/". This variable is case insensitive. For example,
Func/L/Mem would give you all three options.
Note:The PostScript output from this variable is for your own debugging purposes. You need not provide this output to Oracle Support for investigation.