Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dynamic footers issue #251

Open
Agostero opened this issue Aug 6, 2024 · 2 comments
Open

Dynamic footers issue #251

Agostero opened this issue Aug 6, 2024 · 2 comments

Comments

@Agostero
Copy link

Agostero commented Aug 6, 2024

We are rendering PDFs for different clients and each client has a custom footer. If the footer has many lines it will overlap with the body of the pdf. Is there any way around this?

image

@abrom
Copy link
Contributor

abrom commented Aug 7, 2024

You're going to want to set a custom bottom page margin. This can either be done globally or per request:

    margin: {
      bottom: '10cm' // Or px etc..
    },

@Petercopter
Copy link

@Agostero Depending on what you need, this might be interesting https://github.com/pagedjs/pagedjs

It will allow you to handle the page layout and adjust footers and whatnot. We use it with great success.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants