(PECL printer CVS)
printer_set_option — Configure the printer connection
The function sets options for the current connection.
printer_handle must be a valid printer handle.
Option can be one of the following constants:
The option value.
Returns TRUE on success or FALSE on failure.
Example #1 printer_set_option() example
<?php
$handle = printer_open();
printer_set_option($handle, PRINTER_SCALE, 75);
printer_set_option($handle, PRINTER_TEXT_ALIGN, PRINTER_TA_LEFT);
printer_close($handle);
?>