All Projects → andersonls → zpl

andersonls / zpl

Licence: GPL-3.0 license
This library is a php wrapper for the ZPL Programming Language.

Programming Languages

PHP
23972 projects - #3 most used programming language

Projects that are alternatives of or similar to zpl

zplgfa
#Golang package and cli tool for converting to #ZPL (from PNG, JPEG and GIF) for @ZebraTechnology-printers
Stars: ✭ 29 (+45%)
Mutual labels:  zpl, zpl-programming-language
Gap-SDP-API
A PHP wrapper for the Gap Messenger SDP API.
Stars: ✭ 17 (-15%)
Mutual labels:  php-wrapper
ZPL-Printer-Emulator-SDK
Convert, Preview & Render raw ZPL commands to PNG, JPG & PDF from .NET
Stars: ✭ 29 (+45%)
Mutual labels:  zpl
openfoodfacts-php
PHP wrapper for Open Food Facts
Stars: ✭ 49 (+145%)
Mutual labels:  php-wrapper
poloniex-api
PHP wrapper for the Poloniex API
Stars: ✭ 20 (+0%)
Mutual labels:  php-wrapper
coinmarketcap-api
CoinMarketCap.com API PHP wrapper
Stars: ✭ 26 (+30%)
Mutual labels:  php-wrapper
mastodon-api-php
PHP wrapper for the Mastodon API.
Stars: ✭ 12 (-40%)
Mutual labels:  php-wrapper

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


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

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].