printer_logical_fontheight

(PHP 4 >= 4.0.4)

printer_logical_fontheight -- Get logical font height

Description

int printer_logical_fontheight (resource handle, int height)

The function calculates the logical font height of height. handle must be a valid handle to a printer.

Example 1. printer_logical_fontheight() example


$handle = printer_open();
print printer_logical_fontheight($handle, 72);
printer_close($handle);