|
escpos-php
|


Public Member Functions | |
| __construct (string $unifontFilename) | |
| writeChar (int $codePoint) | |
| writeText (string $text) | |
| Accept UTF-8 text for printing. More... | |
| flush () | |
| Cause the buffer to send any partial input and wait on a newline. More... | |
| setPrinter (Printer $printer=null) | |
| Used by Escpos to hook up one-to-one link between buffers and printers. More... | |
| writeTextRaw (string $text) | |
| Accept 8-bit text in the current encoding and add it to the buffer. More... | |
| getPrinter () | |
| Used by Escpos to check if a printer is set. | |
| Mike42\Escpos\Experimental\Unifont\UnifontPrintBuffer::flush | ( | ) |
Cause the buffer to send any partial input and wait on a newline.
If the printer is already on a new line, this does nothing.
Implements Mike42\Escpos\PrintBuffers\PrintBuffer.
| Mike42\Escpos\Experimental\Unifont\UnifontPrintBuffer::setPrinter | ( | Printer | $printer = null | ) |
Used by Escpos to hook up one-to-one link between buffers and printers.
| Printer | null | $printer | New printer |
Implements Mike42\Escpos\PrintBuffers\PrintBuffer.
| Mike42\Escpos\Experimental\Unifont\UnifontPrintBuffer::writeText | ( | string | $text | ) |
Accept UTF-8 text for printing.
| string | $text | Text to print |
Implements Mike42\Escpos\PrintBuffers\PrintBuffer.
| Mike42\Escpos\Experimental\Unifont\UnifontPrintBuffer::writeTextRaw | ( | string | $text | ) |
Accept 8-bit text in the current encoding and add it to the buffer.
| string | $text | Text to print, already the target encoding. |
Implements Mike42\Escpos\PrintBuffers\PrintBuffer.
1.8.13