[Ultimate PDF] how to delete extra page PDF
ultimate-pdf
Reactive icon
Forge component by Leonardo Fernandes
Application Type
Reactive

i use screen to PDF set OpenInbrowser is true and it add extra page

how to delete extra page.

Thank you.

Hello,

You can try fixing this with some Css , try below css if this help's let me know,


@media all {
.page-break {
display: none;
}
}

@media print {
html, body {
height: initial !important;
overflow: initial !important;
-webkit-print-color-adjust: exact;
}
}


@page {
size: auto;
}

 
@media print {
.page-break {
margin-top: 1rem;
display: block;
page-break-before: auto;
}
}



Hope this will help, Also check if there is extra margin-top or margin bottom or padding-top or padding-bottom.
if added, remove it and give it a try.

Thanks,

Tousif Khan



Hey @Kiettiyos Udsom ,

Check this forum thread to see if it helps you: https://www.outsystems.com/forums/discussion/70260/extra-page-on-ultimate-pdf/

There're some outsystems colleagues experiencing the same.

Cheers

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.