escpos-php
|
Wrap multiple connectors up, to print to several printers at the same time. More...
Public Member Functions | |
__construct (PrintConnector ... $connectors) | |
finalize () | |
Finish using this print connector (close file, socket, send accumulated output, etc). | |
read ($len) | |
Read data from the printer. More... | |
write ($data) | |
Write data to the print connector. More... | |
__destruct () | |
Print connectors should cause a NOTICE if they are deconstructed when they have not been finalized. | |
Wrap multiple connectors up, to print to several printers at the same time.
Mike42\Escpos\PrintConnectors\MultiplePrintConnector::read | ( | $len | ) |
Read data from the printer.
string | $len | Length of data to read. |
Implements Mike42\Escpos\PrintConnectors\PrintConnector.
Mike42\Escpos\PrintConnectors\MultiplePrintConnector::write | ( | $data | ) |
Write data to the print connector.
string | $data | The data to write |
Implements Mike42\Escpos\PrintConnectors\PrintConnector.