Option 30 (Pad Data); Sample Use For Padding - Paxar TC6037PR Reference Manual

Packet reference manual
Table of Contents

Advertisement

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
R1. R
Option Header.
R2. 30
Option 30.
R3. L/R
Indicates type of padding
L
R
R4. "character"
Pad character must be within the 0 - 255 decimal range and enclosed
inside quotation marks.
Note:
Example
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-6 Defining Field Options
R,30,L/R,"character" p
Pad field on left side
Pad field on right side
Do not use on fixed length fields.
R,30,L,"X" p

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents