Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

dompdf page footer when using zend views

Posted on 2011-02-15
2
Medium Priority
?
869 Views
Last Modified: 2012-05-11
Hi i am creating a pdf doc successfully using the following code , my question is how do i insert a page footer to each page please.


points will go to code examples not url links.

Thanks in advance
$embassyView = new Zend_View();
$embassyView->setScriptPath('views');
$embassyView->setEncoding('iso-8859-1');
$embassyView->policyData = $quoteDetails;
$embassyView->setupData = $embassyData;
$res = $embassyView->render($embassyData["EMBASSY_PDF_VIEW"]);

require_once("Zend/dompdf/dompdf_config.inc.php");
require_once("Zend/View.php");

$dompdf = new DOMPDF();
$dompdf->set_paper("a4");
$dompdf->load_html($res);
$dompdf->render();
$dompdf->stream("embassy_policy_{$quoteId}.pdf", array("Attachment" => 0));

Open in new window

0
Comment
Question by:cghrmauritius
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 8

Accepted Solution

by:
rationalboss earned 2000 total points
ID: 34896396
http://code.google.com/p/dompdf/wiki/FAQ

Your concern has been addressed there. It's possible :)
0
 

Author Closing Comment

by:cghrmauritius
ID: 34906338
thanks
0

Featured Post

Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

There’s a good reason for why it’s called a homepage – it closely resembles that of a physical house and the only real difference is that it’s online. Your website’s homepage is where people come to visit you. It’s the family room of your website wh…
Australian government abolished Visa 457 earlier this April and this article describes how this decision might affect Australian IT scene and IT experts.
The purpose of this video is to demonstrate how to Import and export files in WordPress. This will be demonstrated using a Windows 8 PC. Go to your WordPress login page. This will look like the following: mywebsite.com/wp-login.php : Click on Too…
The is a quite short video tutorial. In this video, I'm going to show you how to create self-host WordPress blog with free hosting service.

715 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question