A simple macOS application that associates with .zpl files and transmits them to configured network printers.
- Automatically opens when double-clicking
.zplfiles - Sends files to one or more configured printers via
nc(netcat) - Simple menu bar interface for configuration
- Stores printer configuration in
~/.zplprinters
./build.shQuick install (recommended):
./install.shThis will:
- Copy the app to
/Applications/ - Register it with macOS Launch Services
- Refresh Finder
Manual installation:
- Build using
./build.sh - Copy
ZPLPrinter.appto/Applications/ - Run:
/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Support/lsregister -f /Applications/ZPLPrinter.app - Right-click any
.zplfile → Get Info → Open with: ZPL Printer → Change All
- After installation, click the printer icon in the menu bar
- Select "Configure Printers..."
- Add printer IP addresses and ports (default: 9100)
- Printers are saved to
~/.zplprinters
Simply double-click any .zpl file and it will be automatically sent to all configured printers.
The ~/.zplprinters file is a plain text file with one printer per line:
192.168.1.100:9100
192.168.1.101:9100
10.0.0.50:9100
You can edit this file manually if preferred.
When you double-click a .zpl file, the application:
- Reads the file contents
- For each configured printer, executes:
cat <file> | nc <ip> <port> - Shows a notification when complete