This library is a php wrapper for the ZPL Programming Language.

Installs: 109 698

Dependents: 0

Suggesters: 0

Security: 0

Stars: 27

Watchers: 1

Forks: 13

Open Issues: 0

pkg:composer/andersonls/zpl

v0.0.6 2023-05-26 20:47 UTC

This package is auto-updated.

Last update: 2025-09-27 01:52:47 UTC


README

Installation:

composer require andersonls/zpl

How to use:

$driver = new \Zpl\ZplBuilder('mm');
$driver->setEncoding(28);
$driver->setFontMapper(new \Zpl\Fonts\Generic());

$driver->SetFont('0',16);
$driver->SetXY(0, 0);
$driver->drawCell(100, 10, 'Hello World', true, true, 'C');

\Zpl\Printer::printer('192.168.1.1')->send($driver->toZpl());

Donations

If this project helps you somehow, you can give me a cup of coffee :)

paypal