You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am writing in html and ran into a problem. I want pages in landscape orientation, and they are displayed in vertical orientation. How and in which file can the orientation of the resulting pdf be edited?
The text was updated successfully, but these errors were encountered:
You can set the document dimensions in the CSS with the @page syntax, except -page-width and -page-height had to be replaced by -relaxed-page-width-relaxed-page-height, unfortunately, due to a limitation of the Pupetteer API.
See this ReLaXed example for horizontal (poster) dimensions:
I am writing in html and ran into a problem. I want pages in landscape orientation, and they are displayed in vertical orientation. How and in which file can the orientation of the resulting pdf be edited?
The text was updated successfully, but these errors were encountered: