5525B/31/32 Line Matrix Printer Code V Programmer's Reference Manual

56
Chapter 2 Command Codes
Dynamic Form: Field Length
Purpose Assigns a field length to each variable field in a boilerplate
dynamic form.
Format (cc)
x
length
(cc)-
(cc) Represents the Special Function Control Code
(SFCC). Enter the specific SFCC for your Code V
configuration.
x
Specifies the Dynamic Form Field Length
command. Enter [ or { to designate a field length
follows.
length
Represents the field length. Enter a three-digit
number to inform the Code V how many data bytes
are expected to fill a certain variable data field.
Each variable data field on the form must have an
associated field length.
(cc)- Graphics Mode CR used as a sequence terminator.
Enter the SFCC for your Code V configuration
immediately followed by - to end the command
sequence.
Comments This dynamic
length
command is supplied as part of the data
within the Dynamic Form command. The length is assigned to a
variable field at the current position based on all other commands
and data within the Dynamic Form command. For example, if
alphanumeric commands are input followed by a tab followed by
this
length
command, the length is assigned beginning at the
position after the alphanumeric command and tab are executed.
Each variable field in a boilerplate dynamic form must have a field
length assigned. The field length specifies how many data bytes
are required to fill the field. For example, a form might have a
variable field called “quantity” which could be specified as three
data bytes. The Code V would then expect three data bytes
supplied dynamically to fill that field.
Following the completed Dynamic Form command, the data is
sent and the forms are processed. The data is sent in the order of
the variable fields. The first data sent fills the first variable field;
the second data sent fills the second variable field, etc. The data
must be the same length as the field or special dynamic form
commands (CR, LF, FF explained on page 55) must be used to
fill the field.