Skip to content

faustbrian/zpl

GitHub Workflow Status Latest Version on Packagist Software License Total Downloads


zpl

Convert PDFs and images into ZPL output for Zebra printers.

Requirements

Requires PHP 8.4+

Installation

composer require cline/zpl

Usage

use Cline\Zpl\PdfToZplConverter;
use Cline\Zpl\Settings\ConverterSettings;

$converter = new PdfToZplConverter(new ConverterSettings());
$pages = $converter->convertFromFile('/path/to/label.pdf');

Errors

The package throws specific exceptions that all implement Cline\Zpl\Exceptions\ZplException, so consumers can catch either granular failure types or the package-wide marker interface.

Change log

Please see CHANGELOG for more information on what has changed recently.

Contributing

Please see CONTRIBUTING and CODE_OF_CONDUCT for details.

Security

If you discover any security related issues, please use the GitHub security reporting form rather than the issue queue.

Credits

License

The MIT License. Please see License File for more information.

About

No description, website, or topics provided.

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages