Error while printing invoice
This an incompatibility issue between PHP Version 5.4.4 and zend Framwork .
Fixed it by change in this function lib/Zend/Pdf/FileParserDataSource.php.
change
abstract public function __construct();
to
abstract public function __construct($filePath);
Magento in versions before CE 1.9 / EE 1.14 is not compatible with PHP 5.4 out of the box, which causes this error.
Anyways, there is an official patch for this.