Xerox 721P85530 用户手册

下载
页码 488
USING LOGICAL PROCESSING
XEROX DOCUPRINT 180 LPS PDL REFERENCE
7-17
Points to note
Table 7-13 shows the effect of the TCOUNT and HCOUNT 
parameters of the BANNER command under the conditions listed 
and the results of each.
Examples
This section shows examples of using the BANNER command.
Example 1
The following commands define the BANNER criteria for a job stream 
with two trailer pages and one header page. A character string of 120 
asterisks beginning in print position one of line 66 occurs on header 
and trailer pages.
T1: TABLE CONSTANT=(120)’*’;
C1: CRITERIA CONSTANT=(0,120,EQ,T1),
    LINENUM=(66,1);
    BANNER TEST=C1, HCOUNT=1, TCOUNT=2,
    HJOBNO=(121,6);
Example 2
If a job stream has two trailer pages with the character string 
DATE=mm/dd/yy appearing on line 10 or 11 and beginning in print 
position 20, the BANNER criteria could be coded as follows:
T2: TABLE CONSTANT=(’DATE=::/::/::’), MASK=(’:’);
C2: CRITERIA CONSTANT=(19,13,EQ,T2),
    LINENUM=(10,2);
    BANNER TEST=C2, HCOUNT=0, TCOUNT=2;
The MASK parameter specifies a masking character. The 
CONSTANT parameter specifies both the constant data being 
compared and the character positions which contain variable data 
which are not being compared. In this example, positions 1 through 
5 (DATE=) as well as positions 8 and 11 (the /’s) of the specified 
character string contain fixed data. Positions 6, 7, 9, 10, 12, and 13, 
which are identified by the mask character (:), contain variable data 
and are not compared. Header page count has been set to zero 
because criteria defining header pages have not been specified.
Table 7-13.Summary of BANNER command parameter conditions and results
Condition
Parameter
Result
LPS positions to TOF after end-of-
report processing
If TCOUNT = 0
If TCOUNT not 0
The page after the first header is positioned at TOF.
The page after the last trailer is positioned at TOF.
Running online with header pages 
only as the offset criteria
TCOUNT = 0
Job parameters such as DJDEs and page numbering 
for a given report are applied to the first header page of 
the following report.
The system encounters a non-banner 
page
TCOUNT = 0
The next banner page is treated as the first header of a 
new report, even if HCOUNT is not satisfied.
The system encounters a non-banner 
page before HCOUNT is satisfied
HCOUNT not 0
and
TCOUNT not 0
LPS assumes that the report has fewer header pages 
than were specified and begins looking for trailer pages.