#------------------------------------------------#
# Capture and keep the Xexox input and the AFP #
# output for all jobs with a destination of #
# PRT01. #
#------------------------------------------------#
PRT01: '-t "x2afp.in x2afp.out"' -k1
-t command option of the pdxtx2afp command
If you enter the pdxtx2afp command directly to convert a Xerox job, you
can specify directives using the -t command option. See “Using the
pdxtx2afp command to process Xerox jobs” on page 61.
document-comment document attribute
If you use InfoPrint Manager with InfoPrint XT, you can specify directives
on a job-by-job basis, or, for a group of jobs, using InfoPrint Manager
attributes. You can add the document-comment attribute when you submit
the job. This example shows how to set an InfoPrint XT transform directive
with the InfoPrint XT document-comment attribute:
document-comment='PDXTX2AFP_DIRECTIVES: -t x2afp.out -k1'
Notes:
1. If you specify the InfoPrint Manager document-comment attribute with the
pdpr -x command option, you must include quotation marks around the entire
document-comment attribute and value. For example:
-x "document-comment='PDXTX2AFP_DIRECTIVES: -x xztrace=all1:all2 -x xzdump=yes'"
2. If you specify more than one occurrence of the -a, -j, or -k transform directive
using more than one method, InfoPrint XT uses the last occurrence of the
directive. For example, if you specify -j with the PDXTX2AFP_DIRECTIVES
environment variable and with the document-comment attribute, InfoPrint XT
uses the value that the document-comment attribute specifies.
Working with InfoPrint XT AFP structured fields
+ — — — — — — — – — Programming Interface information — — — — — — – — — +
InfoPrint XT converts Xerox LCDS and metacode to AFP. The AFP that InfoPrint
XT generates results in printed output that matches the original Xerox job.
However, the content and form of the AFP can vary with different levels of
InfoPrint XT code. The exception to this rule is a series of Mixed Object Document
Content Architecture (MO:DCA) No Operation (NOP) structured fields that contain
information about the job. You can use these data structures in your own
application programs.
InfoPrint XT NOP structured field format
MO:DCA structured fields begin with a Structured Field Introducer that identifies
the length and the function or type of the structured field. The Structured Field
Data follows the Structured Field Introducer and contains the parameters that are
specific to the type of structured field. Table 5 shows the format of the NOP
Structured Field Identifier and Structured Field Data that InfoPrint XT inserts in
the AFP data stream.
Table 5. InfoPrint XT NOP structured field format
Offset Length Value Description
0 1 X'5A' Carriage control. InfoPrint XT always uses X'5A'
for the carriage control.
Chapter 3. Customizing InfoPrint XT 31