Skip to content
This repository has been archived by the owner on Apr 4, 2023. It is now read-only.

PDF contains extra blank pages at the beginning and end #136

Open
A01TYAD opened this issue Nov 29, 2022 · 1 comment
Open

PDF contains extra blank pages at the beginning and end #136

A01TYAD opened this issue Nov 29, 2022 · 1 comment

Comments

@A01TYAD
Copy link

A01TYAD commented Nov 29, 2022

Hi, I am getting multiple blank pages at the start and the end of the PDF.

I am using the following confiuration togenerate the pdf:

  Bindery.makeBook({
            content: '#content',
            view: Bindery.View.PRINT,
            rules: [
                Bindery.FullBleedSpread({
                    selector: '.container',
                    continue: 'same'
                })
            ],
            pageSetup: {
            size: { width: '465.9mm', height: '248mm' },
            },
            printSetup: {
                layout: Bindery.Layout.PAGES,
                paper: Bindery.Paper.AUTO,
                marks: Bindery.Marks.NONE,
                bleed: '0mm',
            }
        });

Any ideas how to remove the blank pages?

Thank you!

@evnbr
Copy link
Owner

evnbr commented Dec 3, 2022

Hi @A01TYAD , it's hard to know without seeing a working example. It's possible that there is some other CSS on your page that is interfering. Can you share a working example that shows the issue?

To help narrow it down:

  • Does the issue happen with default bindery settings / letter page size, or just with these settings above?
  • Does the issue happen with all content, or just yours? For example, if you make #content a single simple paragraph, do you still see the issue?

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

No branches or pull requests

2 participants