public function writeTextRaw($text) { if ($this->printer == null) { throw new LogicException("Not attached to a printer."); } $this->printer->getPrintConnector()->write($data); }