note 14329 added to function.pdf-stringwidth.php

From: Date: Thu, 26 Jul 2001 21:51:24 +0000
Subject: note 14329 added to function.pdf-stringwidth.php
Groups: php.notes 
Request: Send a blank email to php-notes+get-15882@lists.php.net to get a copy of this message
with font COURIER and fontsize of 12, you can print 10 CPI (Characters per inch) or 1 character every 7.2 points. This means, on an A4 page of size (595,842), with a printable area of (451,662) after leaving 1" blank on each side, one can print 451/7.2 ~= 62 characters. If one is building tables after quering databases, this is a way to figure out if you can print all your columns in a page, or if you need to use landscape, or if you need to reduce the font size. http://www.php.net/manual/en/function.pdf-stringwidth.php

« previous php.notes (#15882) next »