Trutesta SampleTracker and Equipment Manager
- robynhills
- Feb 12, 2024
- 1 min read
Overview
Trutesta SampleTracker and Equipment Manager have the capability to print labels for identifying samples or equipment. This article explains the fundamentals of a label template. Consider a label template similar to a basic merge document, where data from samples are integrated into the label upon using the print feature.
FREEMARKER Template Engine
Trutesta utilizes the FREEMARKER template engine to perform the merge operation. This engine has a rich set of formatting macros and commands.
Sample Merge Codes
The table below describes the available merge codes. Contact Trutesta if additional fields are required. A merge code value is always wrapped as below. The brackets tell FREEMARKER that this value will be replaced.
[=mergecode]
Merge Code | Description |
[=CUSTOMER] | The name of the customer that sent the sample. |
[=REFNO] | The reference number assigned to the sample. The reference number typically maps to a request or project number. |
[=PIECEID] | The generated natural key assigned to each sample piece. |
[=SAMPLEID] | The generated natural key assigned to the shipment the samples arrived. |
A template can contain plain text in addition to merge codes.
Examples
Some examples of a label template are below.
This format prints the generated sample piece id.
[=PIECEID]
This example combines plain text and a merge code.
Key:[=PIECEID]
Summary
Label formats describe the content that appears on a sample or equipment label.
Additional Information
There are no related labels.