PrintConnector for passing print data to a file.
More...
|
| __construct ($filename) |
| Construct new connector, given a filename. More...
|
|
| __destruct () |
| Print connectors should cause a NOTICE if they are deconstructed when they have not been finalized.
|
|
| finalize () |
| Close file pointer.
|
|
| read ($len) |
| Read data from the printer. More...
|
|
| write ($data) |
| Write data to the file. More...
|
|
|
| $fp |
| The file pointer to send data to.
|
|
PrintConnector for passing print data to a file.
◆ __construct()
Mike42\Escpos\PrintConnectors\FilePrintConnector::__construct |
( |
|
$filename | ) |
|
Construct new connector, given a filename.
- Parameters
-
◆ read()
Mike42\Escpos\PrintConnectors\FilePrintConnector::read |
( |
|
$len | ) |
|
◆ write()
Mike42\Escpos\PrintConnectors\FilePrintConnector::write |
( |
|
$data | ) |
|
The documentation for this class was generated from the following file:
- src/Mike42/Escpos/PrintConnectors/FilePrintConnector.php