• 1

Read this first!

We do not monitor these forums. The forum is provided to exchange information and experience with other users ONLY. Forum responses are not guaranteed.

However, please submit a ticket if you have an active subscription and wish to receive support. Our ticketing system is the only way of getting in touch with RSJoomla! and receiving the official RSJoomla! Customer Support.

For more information, the Support Policy is located here.

Thank you!

TOPIC: Add footer to PDF

Add footer to PDF 11 years 4 months ago #25787

Hi,

I'm trying to add a footer to PDF pages that will stay in the same spot on the page, like some of the examples for the TCPDF library. I've looked through the documentation, but can't seem to find anything that explains how to do this for the 'layperson'.

Thanks!
The administrator has disabled public write access.

Add footer to PDF 11 years 4 months ago #25957

I am after the same information. Any explanation or examples would be really good.
Thanks, Matthias
The administrator has disabled public write access.

Add footer to PDF 11 years 3 months ago #26273

  • jghowell
  • jghowell's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 4
Use "Absolute" positions in your HTML as shown here.
pxd.me/dompdf/www/examples.php#css_position_absolute.html,html
<div class="absolute" style="bottom: 10px; left: 40px;">
<p>This text will appear at the bottom left, 10 pixels from the bottom, and forty pixels from the left.</p>
</div>

Cheers,

John
The administrator has disabled public write access.

Add footer to PDF 11 years 2 months ago #26658

  • david31
  • david31's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 12
how to do a header?
The administrator has disabled public write access.

Add footer to PDF 11 years 2 months ago #26659

  • david31
  • david31's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 12
trying to do this with a footer image too and it does not seem to work :(
The administrator has disabled public write access.

Add footer to PDF 8 years 8 months ago #35687

This works:

<DIV style="position: absolute; bottom:80px; left:80px; width:200px; height:25px">This should be 80px from the bottom and left of your page. It will wrap as it's wider than 200px.</DIV>

Just been playing around with this and the above seems to work if anyone is having difficulty.
The administrator has disabled public write access.
  • 1

Read this first!

We do not monitor these forums. The forum is provided to exchange information and experience with other users ONLY. Forum responses are not guaranteed.

However, please submit a ticket if you have an active subscription and wish to receive support. Our ticketing system is the only way of getting in touch with RSJoomla! and receiving the official RSJoomla! Customer Support.

For more information, the Support Policy is located here.

Thank you!