For a one-off PDF, open the webpage’s print dialog, choose Landscape for orientation, then select Save as PDF or the equivalent destination. If you control the page, use CSS @page and @media print; for repeatable automation, Playwright’s page.pdf() accepts a landscape option.
Choose the method that fits
| Situation | Best starting point | What you control |
|---|---|---|
| One webpage, no code | Browser print dialog | Orientation and other print-dialog settings |
| You can edit the webpage | Print CSS with @page and @media print |
Page orientation, margins, and which elements appear |
| You need repeatable PDF generation | Playwright page.pdf() |
Orientation, paper format, margins, scale, and background printing |
Save a webpage as a landscape PDF in a browser
- Open the webpage you want to save.
- Open the browser’s print dialog using its Print command.
- Set the page orientation to Landscape.
- Choose Save as PDF or the browser’s equivalent PDF destination.
- Check the preview, including page breaks and scaling, then save the PDF.
Browser labels and dialog layouts vary. The essential setting is the print dialog’s own orientation choice; changing the screen window’s shape does not set the PDF page orientation.
As an Amazon Associate I earn from qualifying purchases.
Set landscape pages with CSS
If you control the page, the CSS @page at-rule can specify printed page size, orientation, and margins. MDN describes @page as a way to modify aspects of printed pages: MDN: @page CSS at-rule.
@page {
size: landscape;
margin: 2cm;
}
@media print {
.navigation,
.screen-only-control {
display: none;
}
}
The @page rule sets landscape orientation and a 2 cm margin. The print-only rules hide elements that are useful on screen but not in the PDF. Put print-specific layout changes in @media print or a print stylesheet; see MDN: Printing – CSS.
#1 Best Overall
- BLANK PAPER - 17" x 11" printer and copying paper works as hard as you do, work great for writing and drawing, note taking.
- 45 SHEETS - This white recycled printer paper with 45 sheets/90 pages per pack, improve your productivity with this daily organizer.
- Unpunched Paper - If you are looking for a convenient blank paper for your organizer, planner, notebook, and need to customize the type of holes you’re punching, this paper is perfect for just that.
- HIGH QUALITY - Ledger Size Copying paper is used to high quality 100gsm pure white premium acid-free paper, so you can confidently use most pens, pencils, and markers without ghosting and bleed-through.
- PERFECT FOR - Refill blank paper inserts works perfectly with binder notebook planner, ideal for bullet journaling, creative writing, work records, meeting record, class notes, travel diary, poem writing, doodles, project notebook for work, home or school
Generate a landscape PDF with Playwright
Playwright’s page.pdf() renders with print CSS media. Pass landscape: true to request landscape orientation. The following is a complete Node.js example using Playwright’s documented API; install Playwright and its browser before running it.
const { chromium } = require('playwright');
(async () => {
const browser = await chromium.launch();
const page = await browser.newPage();
await page.goto('https://example.com', { waitUntil: 'networkidle' });
await page.pdf({
path: 'page.pdf',
landscape: true,
format: 'A4',
printBackground: true,
});
await browser.close();
})();
Replace https://example.com with the target page. This example requests A4 landscape pages and prints background graphics. Playwright documents the available options, including paper formats and CSS page-size handling, in its Page API reference.
Rank #2
- HAMMERMILL’S BEST SELLING PRINTER PAPER – You will receive one ream of paper with 500 sheets of 20lb, 92 bright, 8.5" x 14" white copy paper. Legal Size
- 99.99% JAM-FREE PRINTER PAPER - Everyone hates paper jams...You can trust Hammermill paper quality to keep your printer running smoothly. Scroll down to view the Product Description for details
- COLORLOK TECHNOLOGY INCLUDED - Colors on Hammermill copy paper are 30% brighter; blacks are up to 60% bolder and inks dry 3 times faster for less smearing.
- Hammermill copying and printing papers are 100% made in the USA, helping to support 2. 4 million sustainable forestry jobs in America, including family tree farmers. Hammermill is more than just paper
Choose between API dimensions and CSS page size
Use format (or explicit width and height) when the script should determine the paper size. If the page’s CSS @page declaration should take priority over the PDF API’s format or dimensions, set preferCSSPageSize: true. Keep landscape: true when you want the API to request landscape orientation.
Quick wins for a faster PC:
Clear out junk files and repair common Windows errorsFree Scan →Scan for outdated or missing drivers - takes under a minuteDriver Scan →Set margins, scale, and backgrounds deliberately
- Paper: Playwright defaults to Letter when
formatis omitted. Choose an appropriate format, such as A4, Letter, Legal, Tabloid, or Ledger. - Margins: Playwright documents margins as defaulting to none. Specify them if content needs breathing room or risks reaching page edges.
- Scale: Playwright’s supported scale range is 0.1 to 2. Adjust scale if content does not fit, but avoid shrinking text so much that it becomes hard to read.
- Backgrounds:
printBackgrounddefaults tofalse. Set it totruewhen the PDF should retain background colors or images.
Fix common landscape PDF problems
- The PDF is still portrait: In a browser, check the print dialog’s orientation setting. For CSS, confirm the
@pagerule is loaded for print. In Playwright, passlandscape: true, or use CSS page sizing withpreferCSSPageSize: truewhen the CSS size should take precedence. - Content is clipped or too small: Review paper format, margins, and scale. Landscape orientation alone cannot make an overly wide layout fit legibly. Choose a suitable paper size and adjust print styles before reducing scale substantially.
- The PDF shows the screen layout: Add or correct print-specific rules in
@media print, or use a print stylesheet to hide navigation and other screen-only elements. - Background colors or images are missing in Playwright: Enable
printBackground: true; its default isfalse. - Colors differ in Playwright output: PDF printing modifies colors by default. Playwright’s documentation points to
-webkit-print-color-adjustwhen exact color rendering is needed. - CSS page rules behave differently across browsers: MDN marks
@pageas Baseline 2024 and cautions that older devices or browsers may not support every part consistently. Test the browser you intend to use.
Or skip the browser setup
If your goal is a clean screenshot or PDF from a URL rather than controlling browser print layout, ScreenshotNeo can return a PDF with one GET request. For example, this cURL request saves a PDF response:
Rank #3
- HAMMERMILL’S BEST SELLING PRINTER PAPER – You will receive one carton of copy paper, which includes 3 individual reams of paper inside. Each ream of paper has 500 sheets of 20 pounds, 92 bright, 8.5" x 11" white copy paper
- 99.99% JAM-FREE PRINTER PAPER - Everyone hates paper jams. You can trust Hammermill paper quality to keep your printer running smoothly. Scroll down to view the product description for details
- COLORLOK TECHNOLOGY INCLUDED - Colors on Hammermill copy paper are 30% brighter; Blacks are up to 60% bolder and inks dry 3 times faster for less smearing.
- Hammermill copying and printing papers are 100% made in the USA, helping to support 2. 4 million sustainable forestry jobs in America, including family tree farmers. Hammermill is more than just paper
curl -G "https://api.screenshotneo.com/v1/shot"
-d access_key=YOUR_API_KEY
--data-urlencode url=https://stripe.com
-d format=pdf
-o page.pdf
See the ScreenshotNeo API documentation for PDF options, including paper size, margins, landscape orientation, and page ranges. ScreenshotNeo removes cookie banners, newsletter popups, and chat widgets before capture; bot checks, blank pages, and failed loads are not billed. Its MCP server gives AI agents tools to take screenshots and capture PDFs. The free plan includes 1,000 screenshots a month with no card, and paid plans start at $5 for 3,000.
Sign up for ScreenshotNeo’s free plan.
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Frequently Asked Questions
Does landscape orientation make every webpage fit on one PDF page?
No. Paper size, margins, scale, page breaks, and print-specific layout also affect fit; landscape alone does not guarantee a single page.
Can I set a custom paper size in Playwright?
Yes. Playwright’s PDF API supports paper formats as well as width and height dimensions; use `preferCSSPageSize: true` if the page’s CSS `@page` size should take priority.
Outdated Drivers Are Slowing You Down
One free scan finds every outdated or missing driver and matches the right update for your exact hardware.Free scan · exact hardware matchPC Slower Than It Used to Be?
A free scan shows the junk files, broken settings and background clutter dragging Windows down - then fixes them in one click.Free scan · Windows 10 & 11Quick Recap
Best Value
- PRINTER PAPER - 8.5" x 14" printer and copy paper great for writing and drawing, note taking.
- HIGH QUALITY - Legal size copying paper is used to high quality 100gsm pure white premium acid-free paper, so you can confidently use most pens, pencils, and markers without ghosting and bleed-through. You won't have to worry about smeared ink or illegible print with this premium paper product.
- 50 SHEETS - This blank recycled printer paper with 50 sheets/100 pages per pack, convenient to record your work and study
- UNPUNECHED BLANK PAPER - If you are looking for a convenient printer copy paper for your organizer, planner, notebook, and need to customize the type of holes you’re punching, this blank paper is perfect for just that.
- PERFECT FOR - White copy paper perfectly with binder notebook planner, ideal for bullet journaling, creative writing, work records, meeting record, class notes, travel diary, poem writing, doodles, project notebook for work, home or school
Rank #4
- 100 percent post-consumer recycled printer paper for everyday use at an affordable price
- Made in the USA from recycled food and beverage containers and other paper-based printed materials
- 400 Sheets, 8.5" x 11", 20 lb., 92 bright white for better contrast and color reproduction, poly wrapped for package durability
- Perfect for printing reports, presentations, manuals, school projects and more
Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.




