(PECL printer SVN)
printer_logical_fontheight — Get logical font height
$printer_handle
, int $height
)
The function calculates the logical font height of height
.
printer_handle
printer_handle
must be a valid printer handle.
height
The font height.
Returns the logical font height 或者在失败时返回 FALSE
.
Example #1 printer_logical_fontheight() example
<?php
$handle = printer_open();
echo printer_logical_fontheight($handle, 72);
printer_close($handle);
?>