Even if FCB data other than
X'6F'
(stop code) is received with WIF7
=
1,
WIF7 is ignored (treated a 0) and WIF6 to
WIFl
are treated as format
control data and stored in the FCB.
However, WIF7 should be 0, except
when stop code
X'6F'
is used.
The total number of bytes contained in the FCB data LlHlL2H2...LnHn must
be
even.
If it is odd and the stop code
X’bF’
follows,
an
error occurs.
At that time,
the printer feeds forms determining that the H
n
byte not
received (data of channel 7 to 12) for the last line is
'1'00'
and that the
total number of lines on a form (page) is
n
lines.
If n is 1,
an error occurs because there must be 2 or more lines on a
page.
If
n
is greater than 255 -- that is, more than 255 lines are specified for
a page -- an error occurs and data from the 256th line and after is lost
because the FCB holds only 255 lines. The printer feeds forms for a
maximum of a 255-line page, storing up to L
255'255'
which corresponds to
line 255, in the FCB.
The stop code is required because the printer
continues FCB data loading until it receives this code.
FCB data must be loaded after character codes of a previous line are
received, printed,
and cleared because character codes are destroyed and
data is loaded into the FCB incorrectly if the printer has unprinted
character codes in the PDB before the FCB load start code.
Line
1
must be set to the print line of the printer before or immediately
after FCB data loading because the FCB address counter is reset to
1
after
FCB data is received (that is,
the printer treats line 1 as the print line
after FCB data is loaded).
If the printer receives start codes other than
X'6C',
X'6D'
and
X'6E',
it
feeds forms as though it had received a Skip or Space command.
Example of FCB data:
. Line spacing:
6 lines/inch
. Form length: 66 lines
Figure 4.10 shows the channels specified for a forms feed format.
Table 4.4 lists the FCB data.
It is assumed that the BOF is set to
channel 12 in the printer.
4
-
14
BOZP-lSOO-OOOlA...OS