fixed issue with wrong array indexes

This commit is contained in:
kplaczek
2018-04-21 13:27:58 +02:00
parent b0ba390cb5
commit 817479415f
2 changed files with 17 additions and 2 deletions

View File

@@ -65,11 +65,9 @@ class Paper
public function sendPrint($title, $text = '', $image = false, $imageLocal = true)
{
$this->sendImagePrint($image, $imageLocal);
$this->sendHeaderPrint($title);
$htmlToPos = new HtmlToPos();
$this->printer->text($htmlToPos->convert($text));
$this->printer->feed(3);
}