printer_write(3) php man page | unix.com

Man Page: printer_write

Operating Environment: php

Section: 3

PRINTER_WRITE(3)							 1							  PRINTER_WRITE(3)

printer_write - Write data to the printer

SYNOPSIS
bool printer_write (resource $printer_handle, string $content)
DESCRIPTION
Writes $content directly to the printer.
PARAMETERS
o $printer_handle -$printer_handle must be a valid printer handle. o $content - The data to be written.
RETURN VALUES
Returns TRUE on success or FALSE on failure.
EXAMPLES
Example #1 printer_write(3) example <?php $handle = printer_open(); printer_write($handle, "Text to print"); printer_close($handle); ?> PHP Documentation Group PRINTER_WRITE(3)
Related Man Pages
printer_draw_elipse(3) - php
printer_draw_pie(3) - php
printer_draw_roundrect(3) - php
rewind(3) - php
xmlwriter_write_element_ns(3) - php
Similar Topics in the Unix Linux Community
UNIX.COM 2017 Year End Summary
New Code Tags (Syntax Highlighting)
Please Welcome Ravinder Singh to the Moderation Team
The Order of the Wizard's Hat - Lifetime Achievement Award 2019 - Congrats to Don Cragun