Paxar TCMPCL2PR Printer User Manual


 
Option 30 (Padding Data) –––––––––––––––––––––––––––––––––––
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 Field 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.
Sample Use for Padding
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.
MPCLII Packet Reference Manual
5-6