Examples - Oce XDL Reference Manual

Lcds-module xdl/djde
Table of Contents

Advertisement

Print Processing
Form and variable data
Under certain circumstances, a form and its associated variable data do not align properly,
even though it appears that both use the same line spacing. Variable data has a line-spac-
ing value that is computed as dots per line, and rounding is done on that value. In FDL, the
rounding takes place only when it is needed to resolve to a dot address and, therefore,
might involve more than one line at a time.
CME string constant
Whether a font switch is applied to a CME string constant depends upon the order in which
FONT and CONSTANT are specified in the CME. If FONT is specified before CONSTANT,
the font switch applies to the string constant. If FONT is specified after CONSTANT, the
font switch occurs at the line position immediately after the string constant.
Where a CME string constant is printed on a line depends upon where the POSITION and
CONSTANT parameters are specified in the CME. If POSITION is specified before CON-
STANT, the string constant is printed at the specified position. If POSITION is specified af-
ter CONSTANT, the string constant is printed at the current position (position 1 if no other
POSITION or CONSTANT parameter has been specified), and a subsequent CONSTANT
or FONT parameter will take effect at the specified POSITION.

3.4.2 Examples

This section shows two examples of using the CME command.
Example 1
The following is an example of copy-sensitive CMEs.
CME1: CME LINE=3, POS=59, CONSTANT='FIRST QUARTER';
CME2: CME LINE=(37,3), POS=81, CONSTANT=(6)'*';
CME3: CME LINE=(1,60), POS=5, FONT=2, INK=3, POS=12, FONT=1;
OUTPUT COPIES=3, MODIFY=(CME1,1,1), MODIFY=(CME2,2,1), MODI-
FY=(CME3,3,1);
For the first copy of the report, line 3 is modified by the text 'FIRST QUARTER'. For the sec-
ond copy, the character '*' is inserted in lines 37, 38, and 39 for 6 character positions (start-
ing in column 81). For copy 3, fonts are changed for lines 1 to 60 at character positions 5
and 12. These fonts must be defined in the FONTS parameter of the PDE command.
Copy-sensitive CMEs are not supported for online processing or when COLLATE=NO is
specified in the OUTPUT command.
A29247-X4-X-8-7672
Summary of ac:CME Command Parameters
67

Advertisement

Table of Contents
loading

This manual is also suitable for:

DjdePrismaproduction server v3.10

Table of Contents