dumpafp
dumpafp interprets the AFP codes in an AFPDS or AFP mixed print stream to create a readable file.
Syntax
dumpafp [-a -c -e -h -i -n -p -t –v -x] file
Note: The following dumpafp parameters are common switches that perform the same functions as parameters of the <RECORD> tag: -a, -c, -e, -i, -p, -t. Refer to the Enrichment Language Reference Guide for more information.
Parameter | Description | Default | |
---|---|---|---|
-a= | One of the following to determine if AFP records are terminated:
|
Y | |
-c= | The text format of the print stream, as follows:
|
E | |
-e= | The byte order in both the blocking length and record length indicator, as follows:
|
B | |
-h | Displays help for the utility. | ||
-i | Indicates that the record length indicator includes its own length and the length of the record. If you do not use -i, the record length indicator includes only the length of the record. | ||
-n | Numbers the output lines. | ||
-p= | The length of the record length indicator, as follows:
|
2 | |
-t= | Specifies the terminator character(s) (hexadecimal codes), separated by commas. | DOS: D,A UNIX: A |
|
-v | Displays the verbose mode for AFP explanations. | ||
-x | Indicates that transparent text in PTX records is in ASCII format. | ||
file | The name of the input file. |
Example
dumpafp -c=A -t=A unix.afp
In this example, dumpafp
is to display the input unix.afp
. The arguments indicate that the input file is in ASCII format and that each record is terminated with X'0A' (an ASCII line feed).