Skip to main content
This page is unlisted and can only be accessed directly via URL. It is excluded from the site navigation and search results.

Print to Zebra label printers

Learn how to print to Zebra label printers from Zebra Android devices.

You can use the Zebra Printer resource for mobile apps to write queries for Zebra Android devices that print to Bluetooth Zebra label printers.

1. Create a resource query

First, create a query that uses the Zebra Printer resource.

  1. Click to open the Code tab.
  2. Click + to add a query.
  3. Select Resource query.
  4. Select the Zebra Printer resource.

2. Select the print method

Retool can send print jobs to a Bluetooth Zebra printer by either broadcasting to its MAC address or directly to one that is currently paired. Select the desired Method in the query.

Use Broadcast to MAC address to send print jobs to a Bluetooth Zebra printer and enter its MAC address, such as 00:23:45:67:89:AB.

Send print jobs to a specified printer using its MAC address.

A ZPL (Zebra Programming Language) string is a series of commands for printing to Zebra printers. The exact ZPL string you provide is dependent on the Zebra printer in use.

The following example is a ZPL string that uses a {{ }} dynamic expression to reference a the current user's email address.

ZPL string example
^XA
^FO50,50^A0N50,50^FD{{ current_user.email }}^FS
^XZ

Refer to Zebra's ZPL command documentation to learn more about writing ZPL strings.