Examples of running traces

In a printer definition
Figure 1 shows how to run a trace of the AFP to PCL transform in the Processing section of a printer definition. Only a portion of the ISPF panel is shown. The trace is written to file /var/Printsrv/xfd/afpxpcl.n.d/myfile.trace.
Figure 1. Example ISPF panel for running traces
                                 Processing
⋮
 
Supported data formats and associated filters:
Data format:  Filter:
 
/ Line data  afpxpcl.dll %filter-options -F myfile.trace -T all (extend)
/ MO:DCA-P   afpxpcl.dll %filter-options -F myfile.trace -T all (extend)
_ PostScript __________________________________________________ (extend)
/ Text       __________________________________________________ (extend)
/ PCL        __________________________________________________ (extend)
_ PDF        __________________________________________________ (extend)
_ SAP        __________________________________________________ (extend)
/ XML        afpxpcl.dll %filter-options -F myfile.trace -T all (extend)
_ TIFF       __________________________________________________ (extend)
_ JPEG       __________________________________________________ (extend)
_ Other      __________________________________________________ (extend)
 
⋮
 
 
In the filter-options job attribute
The following example shows how to run a trace by using the lp command.
In the example, the printer definition myprinter specifies the AFP to PCL transform (afpxpcl). The transform writes the trace and stderr output to file /var/Printsrv/xfd/afpxpcl.n.d/myfile.trace.
lp -d myprinter -o "filter-options='-T all -F myfile.trace'" myfile.afp
On the transform command
The following example shows how to run a trace on a transform command.
In this example, the AFP to PostScript transform (afpxps) writes a full trace and stderr output for file myfile.afp to file /var/Printsrv/xfd/afpxps.n.d/myfile.trace.
afpxps -o myfile.ps -T all -F myfile.trace myfile.afp