printer_write

(PECL printer SVN)

printer_writeWrite data to the printer

Beskrivelse

bool printer_write ( resource $printer_handle , string $content )

Writes content directly to the printer.

Parametre

printer_handle

printer_handle must be a valid printer handle.

content

The data to be written.

Returnerings Værdier

Returns TRUE on success or FALSE on failure.

Eksempler

Eksempel #1 printer_write() example

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

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top