Instruction manual
Defining Field Options 4-3
Using Option 4 (Copy Data)
You can create a field that uses data from another field. This is useful for creating merged
fields or sub-fields. You can copy the information from multiple fields into one field by applying
the copy procedure more than once. Copy data is the only option you can apply to a field more
than once.
The maximum number of characters defined in T3 (# of char) or B3 (# of char) must
allow for the number of characters you will place in the field, including any price, check digit,
or fixed characters inserted by the printer. The maximum number of characters in the field into
which data is copied cannot exceed 2710 or the maximum number of characters permitted by
the bar code.
Note: When copying from more than one field, copy into the destination field from left to
right.
Syntax R,4,src fld,src start,# to copy,dest start,copy code |
R1. R Option Header.
R2. 4 Option 4.
R3. src fld Field number from which data is copied. Range: 0 to 999.
R4. src start Position number in the source field of the first character to be copied. Character
positions are numbered 1 to 2710, starting from the left.
R5. # to copy Number of characters to copy. Range: 1 to 2710.
R6. dest start Position number where copied characters are to begin printing in the destination
field. Range: 1 to 2710.
R7. copy code Copy Method.
1 Copy field as is (including price symbols, pad characters, check digits, etc.).
2 Copy unformatted data (without price characters, pad characters, etc.).
Example R,4,3,1,3,1,1|
Copies data from field #3, starting at the first position and copying three characters. In the
destination field, the information is placed in position 1 and copied as formatted data.
Merging Fields
You can copy data to merge the contents of fields. Use the copy data option as many times as
necessary to copy all the appropriate fields into the merged field.
In the following example, two text fields are shown. Data from these fields is merged to form
field 3 and is then printed as a bar code.
Field Data Field Type
1 203 Text
2 339 Text
3 203339 Bar Code
To create this sequence:
1. Define fields 1 and 2.
2. Define field 3 as a bar code. Allow enough characters in the bar code field to hold all the
copied characters.
3. Apply Option 4 to field 3 once for every source field.