I have PDF pages that are being created as part of an HTML template. Basically an indefinite amount of these attachment pages can be created depending how many filing numbers the user inputs for their filing.
HTML from template node -> HTML to PDF node. This is all working fine.
The last page of filing numbers, if it's only a partial page, which usually is the case - the last page being just partial, is printing landscape. The print preview looks like all the other pages, but when the pages are printed, it prints out landscape. Anyone have any reason why this might be? Thanks
Discussion posts and replies are publicly visible
Which printing related CSS styling do you use? You can find some documentation and examples here: https://github.com/danfickle/openhtmltopdf
The only CSS styling I have included was font and grid styling, since it all displays in a table format. I will take a look at the documentation provided, thank you!
Are you able to share a screenshot for the same?
I actually got it figured out, sorry, forgot to update the post. Just had to add
html {width: 216mm;height:280mm;}
to the styles to indicate an 8.5x11 sheet. thanks!