C r e a t i n g D u p l i c a t e F i e l d s
If a line of data is identical to a previous bitmap or
|
| Duplicate fields are useful when you have a | ||
|
| graphic with a lot of repetition. | ||
Syntax |
|
|
| |
D,adjdir,adjamt,count p | ||||
D1. | D | Duplicate Field. | ||
D2. | adjdir | Increments or decrements the row count. Inserts the | ||
|
| duplicate line after or before the current row. |
0Increments (inserts after)
1Decrements (inserts before) For example: B,50,35,R,"GsSsG" p D,0,20,2 p
inserts row 50 again at row 70 and row 90. Rows 70 and 90 do not have to be defined later.
D3. adjamt Amount of row adjustment in dot rows. Range: 0 - 999. The above example adjusts the duplicate field to image on row 70 and 90 (adding 20 to the current row count).
D4. count Number of times to duplicate the line. Range: 0 - 999.
Example B,117,24,H,"03FFFFFFFFFFFFFFFFFFFC" p D,0,1,2 p
Defines a duplicate field that is imaged after the bitmap line. This field duplicates the preceding bitmap line twice (at row 118 and 119).
You can use constant text, line, or box fields in a graphic packet to create a compliance label overlay. See Chapter 3, "Defining Fields," for more information about these fields.
Creating Graphics