https://github.com/bcrist/zpl
Generate ZPL labels programmatically
https://github.com/bcrist/zpl
Last synced: 2 months ago
JSON representation
Generate ZPL labels programmatically
- Host: GitHub
- URL: https://github.com/bcrist/zpl
- Owner: bcrist
- License: mit
- Created: 2025-12-23T19:46:35.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2025-12-23T20:03:08.000Z (8 months ago)
- Last Synced: 2025-12-25T10:30:29.538Z (8 months ago)
- Language: Zig
- Size: 21.5 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: license
Awesome Lists containing this project
README
# Zebra ZPL builder
A helper library for generating ZPL labels programmatically in Zig.
Note: Not all ZPL commands/features are currently supported.
### Usage
```bash
zig fetch --save git+https://github.com/bcrist/zpl
```
### Example
[make_labels.zig](src/make_labels.zig) is an example program which can either send commands directly to a connected printer (Windows-only for now) or dump the ZPL commands to stdout. It generates 4" x 2" labels containing 32 data-matrix barcodes containing serial numbers with a configurable prefix:
