Genicom GEK 00031B Printer User Manual


 
GEK-00029A 5000 Series Programmer’s Manual
167
DECIFM Start Forms Sequence:
Selects any form loaded in the printer’s RAM.
When a form is selected, the printer enters Form Mode and variable ‘fill-
in’ data is merged and printed with the form data.
General Command Syntax
DCS
P1
& r
FORM NAME
ST
Indeterminate Conditions
P1 is the select form switch character. The select form switch
character always ranges from 20 hex through 7E hex and designates
the printer to switch back to form data. When the printer encounters
a FF character in the form data portion of a multiple page form, it
advances to the next page and continues merging with the fill-in data
that follows. If there is more than one set of fill-in data, the same
form constant data is merged with the new fill-in data to create
additional forms.
The
FORM NAME
is the first ten characters of the loaded form’s ID
(or the full form ID if it is ten characters or less in length). If no such
form exists, the fill-in data is printed as text data.
Decimal: 144 P1 38 114 FORM NAME 156
Hex: 90
P1H
26 72
FORM NAME
9C
BASIC: CHR$(144);P1;”&r”;”FORM NAME”;CHR$(156);
NOTE
The text and command strings corresponding to the last field
of a multi-page form page must terminate with a switch
character. The last field in the last page of a form must
terminate with the Stop Form sequence and not with the
switch character. To exit the FORM Mode, enter a Terminate
sequence.