Automatically printing Zebra ZPL files directly to a printer
General
This article will guide you on how to automatically process and print *.zpl files from a folder directly to a Zebra label printer using File Processor.
Often an ERP system produces shipping labels and dumps them as *.zpl files in a folder and you have to manually process these files. With File Processor you automate this process.
We assume that you have knowledge of creating a File Processor channel.
Configuration
- General: Create a new File Processor channel and call it
ZPL Processing. - Schedule: set it to
Detect files automatically. - Input: set ite Input Type: to
Local/Networkto monitor a (network) folder. (Another input option like email inbox or FTP could also be used).
Define the (Network) Path: e.g.E:\FP\zpl-in. - Input Filter, this is optional, depending in your situation. If multiple different files are in the folder and you want to make sure only
.zplfiles are processed. Add a Property filter set it toFile nameMatch Regex (Regular Expressionand use this as the value for the regular expression:(?i).*[.]zpl
This will only process files ending with the .zpl extension. - Conversion: not needed. Not configured.
- Impersonation: not needed. Not configured.
- Output: set the Output Type: to
Print (V3)and for Printer: select yourZebra printer(e.g. ZDesigner ZD220-203dpi ZPL). - Post-Action: leave as default.
Extra
In case your input files are *.txt text files instead of *.zpl files and they are not being printed. You could try to rename the .txt files to .zpl files first.