Skip to main content

Labels

Creating and designing label templates

Nicholas Casbarro avatar
Written by Nicholas Casbarro
Updated over 2 years ago

The label manager allows you to create different types of labels so you'll be ready to print what you need when you need it.

To print labels, you'll need to install a printer and add it as equipment in GrowerIQ.

In this article:


Adding or Modifying Labels

Go to Administration > Labels. The page lists the label types you've set up.

To add a new one:

Click the + button under Label Types.

To modify an existing one:

Click on its ID in the list.

The label editor appears.


Main Setup

Fill out the required fields at the top of the page:

  • Label Name: The name of the label as it will appear throughout your site.

  • Format: The format is always ZPL (Zebra Programming Language).

  • Type: The entity, such as orders, inventory, etc. that the label applies to. This affects where the label will be available for selection.

  • Height: The vertical size of the label.

  • Sub Type: This is applicable if the Type is set to Inventory. It makes the label available for selection for the specified type of inventory.

Design the label using the label designer (see below), then click SAVE. It will then appear in the list of label templates and will be selectable when you go to print a label for the applicable entity type (Inventory, Order, Shipment, etc.)


Using the Label Designer

Use the controls on the left side of the designer to add elements to your label. A preview of the result is displayed on the right side.

See the diagram at the end of this article for a visual example.

Label Elements

Click one of the ADD buttons to add an element to the label.

Element

Description

Heading

Large text. Use variables (see below) to make the text change depending on the entity the label pertains to. If a Fieldset element is added before this one, it can change the font/size of this.

Text

Normal sized text. Use variables (see below) to make the text change depending on the entity the label pertains to. If a Fieldset element is added before this one, it can change the font/size of this.

Barcode

The label's unique barcode

Fieldset

Change Font

You can use this element to change the font of the text and heading elements that come after this. Enter this into the Value field:

^CF ?

Replace ? with either 1, B, C, D, F or a letter from Q to V. This specifies the font type and size. Example: ^CF B

Leave the Label field blank.


Draw a Shape

You can also use this element to draw a shape, such as a box. Enter this into the Value field:

^G? w,h,t

Replace ? with B (box), E (ellipse), or D (diagonal line). Replace w and h with the width and height of the shape. Replace t with the thickness (1 to 20).

If you want to precisely position the shape instead of using the row/column fields, enter this code into the field first:

^FO x,y

Replace x with the x position, and y with the y position.

Example: ^FO 20,20 ^GB 300,150,6 draws a 300x150 rectangle box, 6 dots thick, at position (20, 20).

Line

A horizontal separator line that spans the width of the label

Image

A black and white image. Use an image converter such as this to generate the image code. Copy all the code except the ^XA at the beginning and the ^XZ at the end, and paste it into this field. To position the image on the label, change ^FO0,0 at the beginning of the code so that the two zeros are replaced with the x,y coordinates.

Variables

To use a variable as part of a text or heading element, enter this into its text field:

{data[x]}

(Replace x with a variable as shown in the table below.)

Here’s an example of a text element using variables:

If the name of the product at printing time is Jilly Bean Oil Extract, created at 10:25 on October 31, the result will be:

Make sure you’ve already selected the label type at the top of the page or else variables won’t work.

Variable

Description

Applicable Label Types

id

The unique identifier of the entity the label is for, such as batch number or order ID.

All

type

Inventory

name

Inventory, Sample

room

The name of the room that the inventory is currently assigned to.

Inventory

timestamp

The date when the inventory was created (or when the received inventory was received).

Inventory, Received Inventory

unit

The unit of measure.

Inventory, Sample, Shipment, Destruction Item, Received Inventory

crm_account_name

The name of the CRM account the order is associated with.

Order

address

Order

city

Order

province

Order

postalCode

Order

country

Order

tracking_number

Shipment

from_inventory_id

The ID of the batch the sample or destruction item is taken from.

Sample, Destruction Item

sku_name

Wholesale

lot_id

Wholesale

lot_item_id

Wholesale

harvest_date

Wholesale

lot_item_creation_date

Wholesale

current_date

Wholesale

variety

Received Inventory

quantity_received

Received Inventory

vendor_name

Received Inventory

vendor_lot_number

Received Inventory

weighed_by

Received Inventory

checked_by

Received Inventory

number_of_pieces

Received Inventory


Example Label

Here is an example label that was created by using the 7 elements in the order shown below. See Label Elements above for more information on how to use each element.

Did this answer your question?