stefanvangastel / labelprinting
Print to a network printer that is TSPL/TSPL2 compatible
Installs: 13
Dependents: 0
Suggesters: 0
Security: 0
Stars: 8
Watchers: 2
Forks: 3
Open Issues: 1
Type:cakephp-plugin
Requires
This package is not auto-updated.
Last update: 2025-05-06 10:49:08 UTC
README
Table of Contents
## IntroThis 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 >>>).