FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum » How To » PDF Page Formatting
Show: Today's Messages :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
PDF Page Formatting [message #30705] Thu, 09 March 2006 23:45 Go to next message
Everfree is currently offline  Everfree   United States
Messages: 36
Registered: December 2005
Location: Los Angeles, CA
Karma: 0
Member
Hello,

When I generate pdf pages, they have too much space below the footer. Is there a way to change that?

The Page Dimensions are set to letter and the margins to 12. Other than too much space at the bottom of the page, they look really good.

Thanks for the help...
Re: PDF Page Formatting [message #30711 is a reply to message #30705] Fri, 10 March 2006 02:41 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
Set the margin to 1 and see if it solves the problem.

FUDforum Core Developer
Re: PDF Page Formatting [message #30720 is a reply to message #30711] Fri, 10 March 2006 06:37 Go to previous messageGo to next message
Everfree is currently offline  Everfree   United States
Messages: 36
Registered: December 2005
Location: Los Angeles, CA
Karma: 0
Member
No, that didn't work.

Here's what the bottom of page 2 and top of page 3 looked like after changing the margins to 1:

index.php?t=getfile&id=2413&private=0
Re: PDF Page Formatting [message #30722 is a reply to message #30720] Fri, 10 March 2006 14:09 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
Apply this patch, it should fix the problem:
http://cvs.prohost.org/c/index.cgi/FUDforum/chngview?cn=7562


FUDforum Core Developer
Re: PDF Page Formatting [message #30731 is a reply to message #30722] Sat, 11 March 2006 02:50 Go to previous messageGo to next message
Everfree is currently offline  Everfree   United States
Messages: 36
Registered: December 2005
Location: Los Angeles, CA
Karma: 0
Member
Thanks, but that didn't work either. Is there a footer setting I can change?

[Updated on: Sat, 11 March 2006 02:50]

Report message to a moderator

Re: PDF Page Formatting [message #30741 is a reply to message #30731] Sun, 12 March 2006 17:19 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
Did you rebuild the theme after making the change?

FUDforum Core Developer
Re: PDF Page Formatting [message #30754 is a reply to message #30741] Sun, 12 March 2006 19:33 Go to previous messageGo to next message
Everfree is currently offline  Everfree   United States
Messages: 36
Registered: December 2005
Location: Los Angeles, CA
Karma: 0
Member
Hi,

I changed

$this->PageBreakTrigger = $this->h - $this->bMargin - 20;

to

$this->PageBreakTrigger = $this->h - $this->bMargin - 1;

Now the margins are the same on all sides.

Will setting it to only 1 cause any problems anywhere else?

Thanks for the help!
Re: PDF Page Formatting [message #30788 is a reply to message #30754] Mon, 13 March 2006 14:21 Go to previous message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
If you set it to 1 the footer may disappear below the fold of the page. I think 10 is the smallest safest value to use in that area.

FUDforum Core Developer
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: How do I set it so guests or anonymous users can't see the boards and forums....They must register.
Next Topic: FUDcode to PHP callback
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Wed Nov 27 20:05:18 GMT 2024

Total time taken to generate the page: 0.04179 seconds