Mike42\Escpos\PrintConnectors\WindowsPrintConnector::__destruct PHP Method

__destruct() public method

public __destruct ( )
    public function __destruct()
    {
        if ($this->buffer !== null) {
            trigger_error("Print connector was not finalized. Did you forget to close the printer?", E_USER_NOTICE);
        }
    }