Printer
PHP Manual

printer_write

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

printer_write — Write data to the printer

Опи�ание

bool printer_write ( resource $printer_handle , string $content )

Writes content directly to the printer.

Спи�ок параметров

printer_handle

printer_handle must be a valid printer handle.

content

The data to be written.

Возвращаемые значени�

Возвращает TRUE в �лучае у�пешного завершени� или FALSE в �лучае возникновени� ошибки.

Примеры

Example#1 printer_write() example

<?php
$handle 
= printer_open();
printer_write($handle, "Text to print");
printer_close($handle);
?>


Printer
PHP Manual