This CakePHP plugin provides a example form and CakePHP component to print labels on a TSPL/TSPL2 compatible labelprinter.
Currently supports the following label types:
- QRCODE
- BARCODE
- DMATRIX
This plugin is CakePHP Security component compatible.
Required:
Optional:
## Installation and Setup-
Check out a copy of the Labelprinting CakePHP plugin from the repository using Git :
git clone http://github.com/stefanvangastel/CakePHP-Labelprinting.git
or download the archive from Github:
https://github.com/stefanvangastel/CakePHP-Labelprinting/archive/master.zip
You must place the Labelprinting CakePHP plugin within your CakePHP 2.x app/Plugin directory.
or load it with composer:
"stefanvangastel/labelprinting": "dev-master"
-
Load the plugin in app/Config/bootstrap.php:
CakePlugin::load('Labelprinting');
-
Visit http://yoursite.com/labelprinting/example/setup to enter your printer settings
-
Visit http://yoursite.com/labelprinting/example/ to select a template and print some labels
-
Labeltemplates can be added, updated and removed in the Labeltemplates directory inside the Plugin. You van use TSPL commands as you can see in the examples.
-
Take a look at the example controller to see what you could do using placeholders (start with <<< and end with >>>).