Label constraints

Label constraints are defined at the end of the label configuration. They are used to modify label data prior to sending to the printer. These constraints exist:

Constraint Description
com.lawson.mscm.platform. printer.label.MaxLengthConstraint This constraint, when applied to a data tag, guarantees that the size of the printed field will be no bigger than the maxlength node value.
com.lawson.mscm.platform. printer.label.PaddedDataConstraint This constraint, when applied to a data tag, guarantees that the size of the printed field will be exactly the size of the maxlength node value. If it is shorter than the maxlength nodevalue, the pad node value will be used to prefix the data.
com.lawson.mscm.platform. printer.label.ZPLEscapeConstraint This constraint, when applied to a data tag, guarantees that the data will be properly escaped to prevent special zpl characters from making it to the printer. The preceding lang section must specify ^CI13^FH_ characters preceding the ^FD characters.