Printer Templates tab
In the Material Management > Configuration > Printer Templates tab, the printer templates that are used for printing labels in the Material Monitoring process can be configured. A printer template contains the ZPL commands which are sent to a Zebra printer when printing the label. The ZPL commands are uploaded as a file when creating or editing a printer template. The template file can contain template variables (placeholders) which are replaced with values from the monitoring process before sending the ZPL commands to the printer. The set Time Zone determines the time zone in which the dates and times are printed on the label. The Language Code determines the language in which localized date and time components like StartMonth are printed on the label.

Printer Templates
Element/icon | Description |
---|---|
Name |
The name of the printer template |
Time Zone |
The target time zone for template variables |
Language Code |
The target language for localized template variables |
Last Modified By |
|
Last Updated On |
|
|
Printer template file and template variables
The printer template file can contain any ZPL commands to describe the label layout. The template file must be a valid .prn or .zpl file. The template file is uploaded when creating or editing a printer template. The following template variables (placeholders) are available to insert values from the Solder Paste Monitoring process into a template file:
Template variable | Description | Example |
---|---|---|
{MatId} |
Material Id of the material that is monitored |
0000002262SFRCC003V1AA1 |
{StartYear} |
4 digit year when the material starts becoming usable for production |
2025 |
{StartMonth} |
Localized short name of the month when the material starts becoming usable for production |
Mar |
{StartMonth2Digit} |
2 digit month when the material starts becoming usable for production |
03 |
{StartDay} |
2 digit day when the material starts becoming usable for production |
08 |
{StartTime} |
Hours and Minutes in 24h format when the material starts becoming usable for production |
13:18 |
{StartTimeShortPattern} |
Localized short time (hours and minutes) when the material starts becoming usable for production |
1:18 PM |
{EndYear} |
4 digit year when the material ends being usable for production |
2025 |
{EndMonth} |
Localized short name of the month when the material ends being usable for production |
Nov |
{EndMonth2Digit} |
2 digit month when the material ends being usable for production |
11 |
{EndDay} |
2 digit day when the material ends being usable for production |
13 |
{EndTime} |
Hours and Minutes in 24h format when the material ends being usable for production |
07:23 |
{EndTimeShortPattern} |
Localized short time (hours and minutes) when the material ends being usable for production |
7:23 AM |
Any dates and times calculated in the monitoring process are converted to the time zone which is selected the printer template. Localized template variables are localized to the language code which is set in the printer template. |
Example printer template file
CT~~CD,~CC^~CT~
^XA~TA000~JSN^LT0^MNW^MTD^PON^PMN^LH0,0^JMA^PR6,6~SD15^JUS^LRN^CI0^XZ
^XA
^MMT
^PW600
^LL0300
^LS0
^FO512,96^GFA,01152,01152,00012,:Z64:
eJxjYBiagP//Bzhb/v8PONv+/x84u4bBDs6uYJCDshj/g0ADmM0MZh/Azz4AI4hkE2EmshsYbECAYRiyoXgosUGJpALKlgdGESxh8QPZsATHDI/GUUAxAABVDmOp:1949
^FO0,96^GFA,01152,01152,00012,:Z64:
eJztkj0KwzAMhRUyeItvUF8kONfqEBodzUfJEVK6eCi4fpH8k7lToQLDh7GeHs8i+tVajopjSpVtSqE9aY8SjW/FIRI9lM1O5FhbgxyUg+wu7Due0aOid/REYVy5ubEXHtC23oQhHSdxnHk4rDBD3oidzCYYLmxZ+bQ0VvbKUFhPNeGoPEFeJoKz+8omNLbc2FFjX9hCvunHwgby1Q/CUeYsT8W/5cIjO3UOBa9uMWWViWdWyFKyouehYed67Y23oMHnWljDJvmvM2y6/l3/p7hzgpcd6HeDlrjVnel3qd+xfvf+9VV9AKPxVAY=:BA64
^FO256,96^GFA,01152,01152,00012,:Z64:
eJxjYBgF9AMCSGwLJHYNEtsOiS2PxOZvQLDZDyDYzA8QbMYPSBp+gEn7/yDwB4n9Dwf7D4ZeDDOR7UJ2A7LbkN2M7BdkPyL7HTlMRsFIAwC6hyNj:8F58
^FO103,36^GB0,190,3^FS
^FO506,34^GB0,186,3^FS
^FO105,34^GB405,0,3^FS
^FT334,103^A0N,42,40^FH\^FD{EndYear}^FS
^FT334,155^A0N,42,40^FH\^FD{EndDay}.{EndMonth}^FS
^FT334,207^A0N,42,40^FH\^FD{EndTime}^FS
^FT113,105^A0N,42,40^FH\^FD{StartYear}^FS
^FT113,157^A0N,42,40^FH\^FD{StartDay}.{StartMonth}^FS
^FT113,209^A0N,42,40^FH\^FD{StartTime}^FS
^FO4,221^GB101,0,5^FS
^FO508,216^GB81,0,5^FS
^FT30,280^A0N,42,40^FH\^FD{MatId}^FS
^PQ1,0,1,Y^XZ
Create printer template
If no timezone is set, the local timezone which is set on the server is used. If no language code is set, the default language which is set on the server is used. |
Prerequisite
MaterialManagement Administrator
role
Procedure
-
Open the Material Management > Configuration menu entry.
-
Click on the Printer Templates tab.
-
Click on
to create a new printer template.
The Create Printer Template dialog window is displayed.
-
Enter the desired data.
-
Click on
Add File and upload your printer template file.
-
Confirm with Save.
The printer template is displayed in the Printer Templates tab.
Edit printer template
Prerequisite
MaterialManagement Administrator
role
Procedure
-
Open the Material Management > Configuration menu entry.
-
Click on the Printer Templates tab.
-
Click on
in the row of the desired printer template.
-
Enter the desired data.
-
Click on
Add File to upload a new printer template file. If no new template file is uploaded, the existing template file is kept.
-
Confirm with Save.
The edited printer template is displayed in the Printer Templates tab.
Clone printer template
Prerequisite
MaterialManagement Administrator
role
Procedure
-
Open the Material Management > Configuration menu entry.
-
Click on the Printer Templates tab.
-
Click on
in the row of the desired printer template.
-
Enter the desired data.
-
Confirm with Save.
The cloned printer template will have the same printer template file as the printer template it was cloned from.
The cloned printer is displayed in the Printer Templates tab.
Delete printer template
When deleting a printer template, this printer template will be removed from all Monitoring Process Definitions. A new printer template has to be assigned to these Monitoring Process Definitions manually. |
Prerequisite
MaterialManagement Administrator
role
Procedure
-
Open the Material Management > Configuration menu entry.
-
Click on the Printer Templates tab.
-
Click on
in the row of the desired printer template.
-
Confirm with Delete.
The printer template is removed from the Printer Templates tab and all Monitoring Process Definitions, to which it was assigned to.
Download printer template file
Prerequisite
MaterialManagement User
role or MaterialManagement Expert
role or MaterialManagement Administrator
role
Procedure
-
Open the Material Management > Configuration menu entry.
-
Click on the Printer Templates tab.
-
Click on
in the row of the desired printer template.
-
Click on
The template file is downloaded in the browser’s default download folder.