Download The Command Bar contains three menu items: File, ExpoBadge

Transcript
Badge Definition Language
Comments
COMMENTS
A line that starts with the '#' (pound sign) character is a comment. The
rest of the line is ignored. You should use comments liberally throughout
the badge definition so that future users of the definition can understand
its operation.
COMMANDS
A line that starts with the '*' (star or splat) symbol is a command. The
currently defined commands are shown on the table below.
Command
START
LINES
LENGTH
REQ
STRIP
END
30
Syntax
* START c [ c [ c [...]]]
where
c = character in the
badge start sequence
* LINES n
where
n = number of lines
per badge
* LENGTH n m
where
n = line number
m = length of the line
in characters
* REQ c [ c [ c [...]]]
where
c = character in the
badge start sequence
* STRIP c
where
c = character to be
stripped
from
incoming data
* END c [ c [ c [...]]]
where
c = character in the
badge end sequence
ExpoBadge® All In One User’s Manual
Description
Defines the character sequence,
which signals the start of a new
badge.
Defines how many 'lines' there
are in a badge. This tells the
input parser how to determine
when all of the data for a badge
has been read.
Tells the parser that the given
line is of fixed length. Usually,
the parser breaks the input into
lines based on the presence of
new
line
characters.
This
provides a means for parsing
badges, which are of made up of
fields of fixed length with no newlines.
Defines a character sequence
that is sent to the badge reader
to request a badge to be sent.
Instructs the parser to strip all
instances of the specified
character
from
the
input
BEFORE parsing out the field
information.
Defines the character sequence
that signals the end of a badge.
This is one method for telling the
input parser how to determine
when all of the data for a badge
has been read.