Sub-Fields
Copy a segment of data from one field into a new location, called a sub-field. For example,
extract part of the data in a bar code and display it in text form in a sub-field. Then, use the copy
data option.
U s i n g O p t i o n 3 0 ( P a d D a t a )
Add characters to one side of a field to "pad" the field. Padding fills in the remaining spaces when
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" |
R1. R
R2. 30
R3. L/R
R4. "character"
Example
R,30,L,"X" |
Pads data with an "X" on the left side of the field.
Sample Use for Padding
Use pad characters to make a variable length bar code occupy a fixed amount of space on the
supply. If the maximum number of characters in the bar code is 15, but the batch packet only has
10 characters, the padding option fills the remainder of the field with pad characters.
U s i n g O p t i o n 3 1 ( C a l c u l a t e C h e c k D i g i t )
The printer generates a check digit when Option 31 is applied to the field. Do not use this option
if the field contains a UPC, EAN, or Code 39 (with the MOD43 check digit) bar code.
Syntax
R,31,gen/ver,check digit # |
R1. R
R2. 31
R3. gen/ver
R4. check digit #
Example
R,31,G,5 |
Generates a check digit using the previously defined check digit scheme 5.
4-4 Packet Reference Manual
Option Header.
Option 30.
Indicates type of padding. R is the default.
L
Pad field on left side
R
Pad field on right side
Pad character must be within the 0 to 255 decimal range and enclosed
inside quotation marks. "0" is the default. The pad character must be in
ASCII Hex format. Do not use on fixed length fields.
Option Header.
Option 31.
Enter G to generate a check digit.
Specifies a check digit scheme. Enter a number that identifies a check
digit scheme that has been defined. For more information, see
Check
Digits." Range: 1 to 10. 1 is the default.
"Using