Printronix SL4M Guida All'Installazione Rapida

Pagina di 68
 28
Chapter
4
Using BarCode 2000 XML Direct
Substring
This field is used to extract a portion of data from an existing LDD field. An 
example of a use of the substring would be to extract the day of the month 
from a known format of ‘mm/dd/yyyy’. In which case, you would have a LDD 
field defined and the field would contain ‘mm/dd/yyyy’. To extract the day of 
the month you would set the Starting Position to 4, Number of Characters to 2 
and Horizontal Alignment to Left.
Alternate
This field provides a function of replacing the primary source with the 
secondary source only if the primary source is empty. For example, suppose 
you have fields defined as RetailPrice (primary) and SalePrice (secondary). If 
the RetailPrice were empty (blank), then the SalePrice would used.
Data Name 
A unique name for the field 
Select Variable Name 
A list of fields you can use to create the substring field 
Starting Position: 
The starting point of where the substring is to start 
Number of Characters 
The number of characters to use in the substring field 
from the Starting Position 
Horizontal Alignment 
Determines where the Starting Position is to start 
from. 
Example: 
If Horizontal Alignment is set to Right then the starting point of the 
substring would be the value in the Starting Position counting from 
the right.
 
Default Substring 
Sets a default value that is used only when test 
printing a label template in the LDS and when printing 
from the FDU 
Comment 
A comment about the data in the field 
Data Name 
A unique name for the field 
Select Primary Source 
A list of fields you can use for the Primary Source 
Select Secondary Source 
A list of fields you can use for the Secondary Source 
when the Primary Source is empty 
Default 
Sets a default value that is used only when test 
printing a label template in the LDS and when printing 
from the FDU 
Comment 
A comment about the data in the field