Enabling Tracing; Extending Shadow Trace Files - HP Spooler FASTP Manual

Network print processes
Table of Contents

Advertisement

Troubleshooting and Using the Trace Facility
where the FASTP network print process resides. Up to eight files can be specified
per device.

Enabling Tracing

To turn the tracing facility on for a device, set bits 1 and 5 (%42000 or 17408) in the
SPOOLCOM DEV PARM attribute. Bit 1 (%40000 or 16384) turns the tracing facility
on, and bit 5 (%2000 or 1024) instructs the FASTP network print process to read the
FASTCNFG file to determine the trace file name.
Note. All entry-sequenced trace files must be created before tracing is enabled.
Note that the PARM attribute is a 16-bit mask whose bits can be set to configure a
variety of device parameters. Only one PARM attribute entry is allowed per device; you
calculate the value of the PARM attribute by combining the values of any bits that are
set into a single combination value, which is expressed as either an octal or decimal
number. Octal values must be preceded by the percent sign (%). For example, if only
bits 1 and 5 are set, PARM would have an octal value of %42000 or a decimal value of
17408:
>SPOOLCOM DEV $LAN.#XEROX.P1, PARM 17408
The method used to calculate the values for 16-bit masks is described in more detail in
Defining the Spooler DEV PARM Attribute
If tracing is enabled for a device and the FASTP network print process is unable to find
one or more SHADOW entries in the FASTCNFG file or it encounters errors in writing
to these files, the FASTP network print process reports messages to $0 and disables
tracing for the current job. These errors are repeated for each new job as long as bit 1
(%40000 or 16384) is set.
To disable tracing, set bit 1 of the PARM attribute off by subtracting the appropriate
octal (%40000) or decimal (16384) value from the combination PARM value.

Extending Shadow Trace Files

For FASTPTCP only, beginning with the G06.10 and D48.02 releases, you can
optionally set bit 5 of the Spoolcom PRINT PARM attribute to extend shadow trace
files. Normally, a shadow trace file is erased and overwritten at the beginning of a job.
Setting this bit allows shadow trace information for multiple jobs to accumulate in the
shadow file. For configuration details, see
Note that extending shadow trace files can, potentially, result in very large shadow
files.
Spooler FASTP Network Print Processes Manual — 427528-006
on page 2-11.
PRINT PARM Attribute
8 - 6
Enabling Tracing
on page 3-10.

Advertisement

Table of Contents
loading

Table of Contents