Skip to content
/ zpl Public
forked from andersonls/zpl

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

License

Notifications You must be signed in to change notification settings

Plasto13/zpl

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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\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());

About

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 100.0%