(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.
如果成功则返回 TRUE,失败则返回 FALSE。
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);
?>