stowers-lims / zpl
This library is a php wrapper for the ZPL Programming Language.
Installs: 23 196
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 6
Forks: 16
pkg:composer/stowers-lims/zpl
Requires
- php: >=7.1
- ext-sockets: *
This package is auto-updated.
Last update: 2025-12-19 03:54:41 UTC
README
Installation:
composer require Stowers-LIMS/zpl
How to use:
$driver = new \Zpl\ZplBuilder('mm'); $driver->setEncoding(28); $driver->setFontMapper(new \Zpl\Fonts\Bematech\Lb1000()); $driver->SetFont('Arial',16); $driver->SetXY(0, 0); $driver->drawCell(100, 10, 'Hello World', true, true, 'C'); \Zpl\Printer::printer('192.168.1.1')->send($driver->toZpl());
Credit:
This package is a fork of Anderson Luiz Silvério's ZPL library and includes classes from Rob Gridley's Zebra Library