Printer 函数
PHP 手册

printer_logical_fontheight

(PECL printer SVN)

printer_logical_fontheightGet logical font height

说明

int printer_logical_fontheight ( resource $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($handle72);
printer_close($handle);
?>


Printer 函数
PHP 手册