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 next-bitmap field, the duplicate field allows you to repeat the dot sequence without retyping the data. A duplicate field represents one row of dots on the image.

Note: 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.

 

0

Increments (inserts after)

 

1

Decrements (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 2, “Defining Fields,” for more information about these fields.

4-14Creating Graphics

Page 72
Image 72
Paxar TC6037PR E a t i n g D u p l i c a t e F i e l d s, Adjdir,adjamt,count p, 117,24,H,03FFFFFFFFFFFFFFFFFFFC p, 1,2 p