Print to a label printer from any app
The LabelZoom Print Agent can share your label printers on the local network as standard IPP printers. Windows, macOS, and Linux find them and print to them with their built-in IPP support, so no printer driver is needed. LabelZoom converts each document to the printer’s language, and the job prints like any other Cloud Print job.
Before you begin
Section titled “Before you begin”- The LabelZoom Print Agent, enrolled and up to date.
- A printer added on the Printers page as Network (TCP/IP) with Zebra (ZPL), or as USB / Local printer in Windows driver mode. Generic RAW and RAW passthrough printers can’t be shared.
- Computers that print to the shared printers are on the same network as the agent.
Turn on printer sharing
Section titled “Turn on printer sharing”Printer sharing is off until you turn it on. To turn it on, follow the steps for your agent:
| Agent | Steps |
|---|---|
| Windows | Run the installer and select Share label printers on this network. The installer opens the firewall on private and domain networks. Or run lz-print-agent.exe set-ipp on from an administrator prompt, and then run lz-print-agent.exe service restart. |
| Linux | Run the install command with --share-printers added. You can leave off --code if the agent is already enrolled. |
| Docker | Add -e LZ_IPP_ENABLE=on --network host to the docker run command. The host network lets the printers be discovered. |
Each shared printer appears on the network as PRINTER_NAME (LabelZoom), where PRINTER_NAME is its name on the Printers page.
Add a shared printer
Section titled “Add a shared printer”To add a shared printer on a computer, follow the steps for its operating system:
| Operating system | Steps |
|---|---|
| Windows | Go to Settings > Bluetooth & devices > Printers & scanners, and click Add device. Select the printer. |
| macOS or Linux | Run lpadmin -p PRINTER_QUEUE -E -v IPP_ADDRESS -m everywhere, where IPP_ADDRESS is the printer’s address. On Linux, you can also add the printer in your desktop’s printer settings. |
To find a printer’s address, or if the printer isn’t listed, open http://AGENT_HOST:PORT/ in a browser to see each shared printer’s address, in the form ipp://AGENT_HOST:PORT/ipp/print/PRINTER_ID. PORT is 631 on Windows and 8631 on Linux and in Docker. On Windows, you can add a printer by its address under Add device > Add manually.
Print a label
Section titled “Print a label”To print a label from an app, follow these steps:
- In the app, open the print dialog and select the shared printer.
- Choose the paper size that matches the labels in the printer, such as 4 x 6 in. LabelZoom uses the size you choose.
- Print. The job appears in the printer’s Queue on the Printers page.
Supported documents
Section titled “Supported documents”| Document | What prints |
|---|---|
| Each page as a label, at the printer’s resolution. A Windows driver printer prints the first page only. | |
| PWG raster | Each page as a label. Most operating systems send this when they don’t send PDF. |
| JPEG | The image, scaled to fit the label. |
| PNG | The image, at its own size. |
| Printer code, such as ZPL | The code, unchanged. |
Limits
Section titled “Limits”- A job holds one document.
- A job counts toward your Cloud Print limits, like any print request.
- You can cancel a job only while it’s still on the computer that sent it.
- iPhone and iPad can’t print to shared printers.
Security
Section titled “Security”Anyone who can reach the agent’s computer on the network can print to the shared printers, and every job counts toward your account’s limits. Turn sharing on only on networks you trust. On Windows, the installer opens the firewall on private and domain networks only.
Change the settings
Section titled “Change the settings”| Setting | Environment variable or command | Default | Description |
|---|---|---|---|
| Printer sharing | LZ_IPP_ENABLE, lz-print-agent set-ipp |
Off | on shares the printers. |
| Sharing address | LZ_IPP_ADDR |
:631 on Windows, :8631 on Linux and in Docker |
Where the shared printers listen. |
| Discovery | LZ_IPP_ADVERTISE |
On | off stops announcing the printers on the network. Computers can still add them by address. |
On Linux, set a variable by adding a NAME=value line to /etc/default/labelzoom-print-agent, and then restart the agent.
Troubleshooting
Section titled “Troubleshooting”| Symptom | Fix |
|---|---|
| The printer isn’t listed when you add a printer. | Check that the computer is on the same network as the agent, and that the network allows multicast DNS (UDP port 5353). Otherwise, add the printer by its address. |
| A printer from the Printers page isn’t shared. | Only Zebra (ZPL) network printers and Windows driver printers are shared. When more than one agent serves a printer, only its primary agent shares it. |
| The agent’s log says it can’t listen on the sharing port. | Another print server uses the port. Set LZ_IPP_ADDR to a free port, such as :8632, and restart the agent. |
| The label prints at the wrong size or is cut off. | In the print dialog, choose the paper size that matches the labels in the printer. |
| The print dialog says the job failed. | Read the job’s error in the printer’s Queue on the Printers page. |