(PHP 4 >= 4.0.4)
bool printer_write (resource handle, string content)
bool printer_write
Writes content directly to the printer, and returns TRUE on success or FALSE if it failed.
handle must be a valid handle to a printer.
Exemple 1. printer_write() example
$handle = printer_open(); printer_write($handle, "Text to print"); printer_close($handle);