Tally Genicom 6600 Printer User Manual


 
102
Chapter 6 Buffered Forms
The following examples illustrate the use of buffered formatting.
Example 1: This example is a two step process. A form with the file name
EXAMPLE 1 will be created in the first step, then executed in the
second step.
1. To create the buffered form, send the command:
^IFORM,EEXAMPLE 1^G12345678901^-^G
This creates the basic label and specifies the size and position of the data
field and how many bytes (characters) the data field will hold.
2. Call the form and send the data for the data field with the command:
^IFORM,EEXAMPLE1^G12345678901^-^G
^IFORM,EEXAMPLE 1^G
Gets the buffered form EXAMPLE1.
12345678901^-
The data being inserted into form EXAMPLE 1.
^G Marks the end of the data (Data Terminator).
The data 12345678901 is inserted into the three byte wide data field in
the buffered form, 3 bytes at a time. The first line prints “Always 3 bytes:
123” then there is a CRLF, followed by “Always 3 bytes: 456” and another
CRLF, and so forth until all the data in the Execute Command has been
used. The printed result of these Buffered Form commands is:
Example 2: The buffered form is a more complex design. It is a sequence of
Code V commands that can be used to print an AIAG form:
1. The following commands create an AIAG buffered form in printer
memory:
^F^-
^IFORM,CAIG^G
^M0504^t0100^j002^[009^T0030^J054^BNAP^[009^G
^M0503^T0100^j122^[006^T0030^J174^BNAQ^[006^G
^M0202^T0100^J232^[009^M0504^T0030^J254^BNAV^[009^G
^M0202^T0100^J312^[009^M0504^T0030^J334^BNAM^ [009^G
^T0000^J000^LB05000-40011
^T0000^J120^LS05000001
^T0000^J230^LS04000001
^T0300^J120^LS00010110
^T04400^J230^LS00010170
^M0101
^T0004^J002 part no. ^J013^T0025 (P)