printer_logical_fontheight

(PECL printer SVN)

printer_logical_fontheightGet logical font height

Description

int printer_logical_fontheight ( resource $printer_handle , int $height )

The function calculates the logical font height of height.

Parameters

printer_handle

printer_handle must be a valid printer handle.

height

The font height.

Return Values

Returns the logical font height or FALSE on failure.

Examples

Example #1 printer_logical_fontheight() example

<?php
$handle 
printer_open();
echo 
printer_logical_fontheight($handle72);
printer_close($handle);
?>