O p t i o n 3 0 ( P a d D a t a )

You can add characters to one side of a field to “pad” the field. Padding allows you to fill in the remaining spaces when the entered data does not fill an entire field.

If a variable length field is not completely filled with batch data, this option fills the remaining positions in the field with the character designated by Option 30.

Syntax

R,30,L/R,"character" p

R1.

R

Option Header.

R2.

30

Option 30.

R3.

L/R

Indicates type of padding

 

 

L Pad field on left side

 

 

R Pad field on right side

R4.

“character”

Pad character must be within the 0 - 255 decimal range and enclosed

 

 

inside quotation marks.

 

 

Note: Do not use on fixed length fields.

Example

R,30,L,"X" p

Pads data with an “X” on the left side of the field.

S a m p l e U s e f o r P a d d i n g

If you have a variable length bar code that you want to occupy a fixed amount of space on the supply, use pad characters. If the maximum number of characters in the bar code is 15, but the batch record only has 10 characters, the padding option fills the remainder of the field with pad characters.

3-6Defining Field Options

Page 48
Image 48
Paxar TC6037PR manual T i o n 3 0 P a d D a t a, M p l e U s e f o r P a d d i n g, 30,L/R,character p, 30,L,X p