(PECL printer SVN)
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.
Возвращает TRUE в случае успешного завершения или FALSE в случае возникновения ошибки.
Пример #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);
?>