JavaScript Editor Javascript debugger     Website design 

printer_logical_fontheight

Get logical font height ()
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 2002. printer_logical_fontheight() example

<?php
$handle
= printer_open();
echo
printer_logical_fontheight($handle, 72);
printer_close($handle);
?>