PhpRiot
Become Zend Certified

Prepare for the ZCE exam using our quizzes (web or iPad/iPhone). More info...


When you're ready get 7.5% off your exam voucher using voucher CJQNOV23 at the Zend Store

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);
?>

PHP Manual