When dealing with items and packages in MJ Platform you are often presented with the option to print labels. The labels manager allows you to design different labels of different sizes so you'll be ready to print what you need when you need it.
The labels you set up with the label manager will be available for the facility module you are logged into.
In this article:
Creating Labels
Create or select an appropriate type for your label type.
This determines what type of package (plant, harvest, inventory, or patient) the label will be able to be printed for and what information can be put on it.
The label type also determines the default settings for all label definitions you create under it.
Optional: Create standardized, reusable statements for different product categories.
These are statements you can have automatically generated on your label printout based on the category of product in the package.
This determines what information is on the label, how it is laid out, and the size.
You'll use data keys to add the appropriate information to the label definition.
Also see Label Printer - Getting Started for information on setting up your printer.
Components of a Label
MJ Platform uses the following main components to generate a label:
ⓐ | Label Type: The label type controls the type of entity the label will apply to (plants, harvest batches, inventory packages, or patient packages) along with its default size. Above is an example of a "small package label" which applies to inventory packages and whose default label definition sets it to be 2 x 1 inches. You can modify a label type's general settings, which will affect all the label definitions you create of that type. |
ⓑ | Label Definition: Each label type has a default label definition, and you can add additional custom definitions. A label definition is a collection of field labels (ⓒ) and data (ⓓ) that will appear on the printout. Once you create a label definition, it will become available for selection whenever a user starts a printing job with the applicable label type. |
ⓒ | Field Labels: Display names for the data. You can set the field label to anything you want in the label definition editor in order to make the associated data easy to identify. |
ⓓ | Data: The data to be displayed next to the field labels. Each line of data comes from a data key, which is a code you specify in the label definition editor. It tells MJ Platform what text should be rendered at printing time. In the example above, the first data key is
item_name , which for this package resulted in the text "ABRACADABRA SEEDS".
There are three special data keys which result in category-dependent statements, such as a health and benefits statement. You can create statements with the Statements Manager, and then add the appropriate data key to the label with the label definition editor. |
ZPL Labels
Manually creating ZPL labels gives you more control with how your labels look, but you'll need to write ZPL code.