Home > PHP > Function > Printer > printer_draw_text()

printer_draw_text()

printer_draw_text - Draw text

Syntax

printer_draw_text (resource $printer_handle, string $text, int $x, int $y)

Arguments

  • printer_handle - printer_handle must be a valid handle to a printer.
  • text - The text to be written.
  • x - x is the x coordinate of the position.
  • y - y is the y coordinate of the position.

Description

The function draws text at position x, y using the selected font.

Version

PHP PECL printer SVN

Return value

No value is returned.