printer_draw_roundrect
printer_end_doc
Funções da Printer
PHP Manual

# printer_draw_text

(No version information available, might be only in CVS)

printer_draw_text — Desenha um texto

### Descrição

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

A função simplesmente desenha `text` na posição `x` , `y` usando a fonte selecionada. `printer_handle` deve ser um manipulador válido para uma impressora.

Exemplo #1 Exemplo printer_draw_text()

`<?php
$handle = printer_open();
printer_start_doc($handle, "My Document");
printer_start_page($handle);
$font = printer_create_font("Arial", 72, 48, 400, false, false, false, 0);
printer_select_font($handle, $font);
printer_draw_text($handle, "test", 10, 10);
printer_delete_font($font);
printer_end_page($handle);
printer_end_doc($handle);
printer_close($handle);
?>`

printer_draw_roundrect
printer_end_doc
Funções da Printer
PHP Manual