goodboy008/labelize/zpl-reference
Claude Code and agent skill by goodboy008/labelize
- community
Checking that the SKILL.md file is still in the repository.
Look up ZPL command specifications from the official Zebra Programming Guide. Use when: implementing ZPL commands, debugging ZPL parsing, verifying parameter defaults, checking command interactions, fixing rendering that doesn't match expected ZPL behavior, understanding barcode or font or field or graphic command semantics.
Install
npx vskill@latest install goodboy008/labelize/zpl-referenceSKILL.md
ZPL Official Reference Lookup
Purpose
Fetch and interpret ZPL command specifications from the official Zebra Programming Guide to resolve ambiguities in labelize's ZPL parser and renderer.
When to Use
- A rendered label doesn't match expected output
- Implementing or fixing a ZPL command parser
- Unsure about parameter defaults, ranges, or optional values
- Command interaction behavior is unclear (e.g.,
^FOvs^FT,^BYdefaults) - Adding support for a new ZPL command
Official Documentation
Base URL: https://docs.zebra.com/us/en/printers/software/zpl-pg/c-zpl-zpl-commands.html
Command Page URL Pattern
Each ZPL command has a dedicated page. The URL follows this pattern:
Common Command Slugs
| Command | Slug | Description | |
|---|---|---|---|
^A | a | Scalable/bitmapped font | |
^A@ | a1 | Use font name to call font | |
^B0 | b0 | Aztec barcode | |
^B2 | b2 | Interleaved 2-of-5 barcode | |
^B3 | b3 | Code 39 barcode | |
^B7 | b7 | PDF417 barcode | |
^BC | bc | Code 128 barcode | |
^BD | bd | UPS MaxiCode barcode | |
^BE | be | EAN-13 barcode | |
^BQ | bq | QR Code barcode | |
^BX | bx | DataMatrix barcode | |
^BY | by | Barcode field default | |
^CF | cf | Change alphanumeric default font | |
^CI | ci | Change international font | |
^DF | df | Download format | |
^FD | fd | Field data | |
^FB | fb | Field block | |
^FH | fh | Field hexadecimal indicator | |
^FN | fn | Field number | |
^FO | fo | Field origin | |
^FR | fr | Field reverse print | |
^FS | fs | Field separator | |
^FT | ft | Field typeset | |
^FV | fv | Field variable | |
^FW | fw | Field orientation | |
^GB | gb | Graphic box | |
^GC | gc | Graphic circle | |
^GD | gd | Graphic diagonal line | |
^GF | gf | Graphic field | |
^GS | gs | Graphic symbol | |
^IL | il | Image load | |
^LH | lh | Label home | |
^LL | ll | Label length | |
^LR | lr | Label reverse print | |
^PO | po | Print orientation | |
^PW | pw | Print width | |
^XA | xa | Start format | |
^XF | xf | Recall format | |
^XG | xg | Recall graphic | |
^XZ | xz | End format | |
~DG | dg | Download graphics |
Supplementary Pages
| Topic | URL | |
|---|---|---|
| Field Interactions | https://docs.zebra.com/us/en/printers/software/zpl-pg/r-zpl-interactions-field-interactions.html | |
| Fonts and Barcodes | https://docs.zebra.com/us/en/printers/software/zpl-pg/c-zpl-font-barcodes-fonts-andbar-codes.html | |
| Character Encoding | https://docs.zebra.com/us/en/printers/software/zpl-pg/c-zpl-zebra-code-zebra-code-pages.html | |
| ZB64 Encoding | https://docs.zebra.com/us/en/printers/software/zpl-pg/c-zpl-zb64-encoding-zb64-encoding-compression.html |
Procedure
- Identify the command — Extract the ZPL command prefix (e.g.,
^BC,^FO,^GB) from the user's question or from the parser code.
- Fetch the official doc — Use the
#tool:fetch_webpagetool to load the command's page:
`` https://docs.zebra.com/us/en/printers/software/zpl-pg/c-zpl-zpl-commands/r-zpl-<slug>.html ``
- Extract key details:
- Parameter list with positions, types, defaults, and valid ranges
- Interaction notes (e.g., "this command is affected by
^BY") - Default behavior when parameters are omitted
- Compare with labelize implementation:
- Search the parser for how the command is parsed:
grep_searchfor the command prefix insrc/parsers/ - Check the element struct in
src/elements/ - Check the renderer logic in
src/drawers/renderer.rs
- Report discrepancies between the official spec and labelize's implementation.
Example
User asks: "Why is my Code 128 barcode too wide?"
- Fetch
https://docs.zebra.com/us/en/printers/software/zpl-pg/c-zpl-zpl-commands/r-zpl-bc.html - Check
^BCparameters: orientation, height, print interpretation line, above/below, UCC check digit, mode - Fetch
https://docs.zebra.com/us/en/printers/software/zpl-pg/c-zpl-zpl-commands/r-zpl-by.html - Check
^BYdefaults: module width (default 2), wide-to-narrow ratio (default 3.0), bar height (default 10) - Search labelize parser for
^BYhandling — verify defaults match - Report findings
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryChecking.github/skills/zpl-reference/SKILL.md
Popularity
- Repository stars
- 60
- Repository forks
- 26
- 7-day trend score
- 21
Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 15 Aug 2026, 2 months ago.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/goodboy008/labelize/zpl-reference)