ZPL Labelary Preview is a VSCode extension designed to preview ZPL (Zebra Programming Language) labels using the Labelary API. It allows users to view label renderings directly within VSCode, manipulate label dimensions and density, and download the labels in various formats such as ZPL, PNG, and PDF.
Usage
Run: View ZPL Label
Open a text file in VSCode containing ZPL code.
Select the ZPL code or keep the whole document active.
Run the command "View ZPL Label" from the command palette (press Ctrl+Shift+P to open it).
A panel will appear displaying the ZPL label rendering.
Features
Preview ZPL Labels: Render and view your ZPL label designs within a VSCode panel.
Preview ZPL Code: View ZPL code with syntax highlighting and prettified formatting in a separate panel.
Base64 Decoding: Automatically decode ZPL labels encoded in Base64 format for rendering and preview.
Clipboard Copy: Copy the raw ZPL code to the clipboard.
Density Selection: Change the print density (dpmm).
Multi-Page Support: Navigate between multiple pages of label designs.
Download Options: Save labels as ZPL, PNG, or PDF files.
Contributing
Feel free to contribute to this project by opening issues or submitting pull requests. Contributions that add features, fix bugs, or improve the codebase are welcome.