library boca
Boca Printer Library
phillipsdata/boca
Boca Printer Library
- Thursday, May 21, 2015
- by clphillips
- Repository
- 3 Watchers
- 0 Stars
- 73 Installations
- PHP
- 0 Dependents
- 0 Suggesters
- 1 Forks
- 0 Open issues
- 2 Versions
- 0 % Grown
Boca
A library for interfacing with Boca printers., (*1)
Requirements
Installation
Install the package using Composer. Edit your project's composer.json
file to require phillipsdata/boca
., (*2)
"require": {
"phillipsdata/boca": "~1.0"
}
Basic Usage
use PhillipsData\Boca\Connection;
use PhillipsData\Boca\Transport;
$connection = new Connection('tcp://127.0.0.1:9100');
$connection->open();
$transport = new Transport($connection);
$response = $transport->send('<MAC>\n\n');
$connection->close();
echo $response; // outputs something like: MAC Address: 00:0D:00:00:01
dev-master
9999999-dev
Boca Printer Library
Sources
Download
MIT
The Requires
The Development Requires
by
Cody Phillips
1.0.0
1.0.0.0
Boca Printer Library
Sources
Download
MIT
The Requires
The Development Requires
by
Cody Phillips