100
Chapter 6 Buffered Forms
Buffered Form Create
Buffered forms are created by the Buffered From Create Command. When a
buffered form is created, it is stored in printer memory until it is deleted or the
printer exits Graphics Mode. Every Version 2 Buffered Form has a name by
which it is referenced. The name is assigned to the Form by the Create
Command, and the form is referenced by name by the Buffered Form Execute
Command. The Execute Command is then used to print the form created by
the Create command.
The Buffered Form Create command has the following syntax:
Command ^IFORM,C<form name>^G<data^]
Arguments
^IFORM,C Buffered Form Create Command
<form name> The name for the form being created and stored.
This name can be up to twelve characters long. If
this name is already taken by an existing buffered
form, the newly created form will replace it.
^G Command Terminator
<data> Commands and data to be stored (including data
fields, if any).
^] Marks the end of the data sequence that follows the
^IFORM,C command.
Example 1: The command, ^IFORM,C123^G^M1010000123^-^] stores the
Graphics Pass ^M1010000123^- in memory and names it 123.
Example 2: The command ^IFORM,CTEST 1^G^M0505000^[006^-^] stores
the Graphics Pass ^M0505000xxxxxx^- in memory and names it
TEST 1. the xxxxxx signifies six bytes in memory that are to be
filled in by the data field of the Buffered Form Execute command.
If the Execute commmand data field contains ABCDEF, then the
data string ABCDEF will print as 0.5 x 0.5 inch block characters
horizontally across the page in response to the ^M0505000
command.
Buffered Form Execute
The Version 2 Buffered Form Execute command is used to print command/
data sequences defined previously by a Create command. This command
prints the corresponding form stored in memory and inserts the data into the
appropriate data fields (if any) as the buffered form is printed. The Execute
command has the following form:
Command ^IFORM,E<form name>^G<data>^G
Arguments
^IFORM,E Buffered Form Execute Command
<form name> The name of the form stored in memory.
^G Command Terminator