-
Notifications
You must be signed in to change notification settings - Fork 342
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
Is it possible to have it automatically create new pages once the sheet overflows? #12
Comments
Hi @bionets. |
Hi @bionets... I know this is old, but I was able to do this pretty easily by just adding a style:
I was also able to avoid the browser printing half an element on one page and the other half on the next by adding |
Hi, how you avoid the next page enters with no padding on top ? i try your solution but when content is too big, the next page is close to the border top of the page. |
Same issue +1 |
@lpwm @danilockthar try adding:
|
Finally found the issue was caused by a div with growing height and ignored the paddings. |
I tried this and didn't work. Is there a sample code that contains the full CSS and page content that goes across multiple pages? Thanks! |
I solved it
|
@cognitom When looping through data, is there any way we can know when a page is full? and then start/open a new sheet. |
Currently you'll have to define "sheet" for each page, but I am looping long list of data so I only created one sheet. The problem is after the end of the sheet the rest of the data gets hidden and not printed.
The text was updated successfully, but these errors were encountered: