escpos-php
Public Member Functions | List of all members
Mike42\Escpos\PrintConnectors\PrintConnector Interface Reference

Interface passed to Escpos class for receiving print data. More...

Inheritance diagram for Mike42\Escpos\PrintConnectors\PrintConnector:
Inheritance graph
[legend]

Public Member Functions

 __destruct ()
 Print connectors should cause a NOTICE if they are deconstructed when they have not been finalized.
 
 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...
 

Detailed Description

Interface passed to Escpos class for receiving print data.

Print connectors are responsible for transporting this to the actual printer.

Member Function Documentation

◆ read()

Mike42\Escpos\PrintConnectors\PrintConnector::read (   $len)

◆ write()

Mike42\Escpos\PrintConnectors\PrintConnector::write (   $data)

The documentation for this interface was generated from the following file: