Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Open the webpage’s print preview, choose the browser’s PDF destination, and select a paper size if one is offered. A standard-size menu is not the same as a field for arbitrary width and height: ordinary browser dialogs do not all provide custom dimensions. If you need exact dimensions, use a page stylesheet you control, a managed Chrome policy, or a PDF-generation API such as WebView2, depending on your role.

Save a webpage as a PDF using the browser’s print preview

  1. Open Print. In Microsoft Edge, open the menu and choose Print, or press Ctrl+P on Windows or Command+P on macOS. Firefox also provides a print preview from the browser’s print command. Edge print help and Firefox print help describe their respective workflows.
  2. Choose the PDF destination. Firefox labels its destination “Save to PDF.” In other browsers, choose the available PDF destination or system PDF printer.
  3. Inspect the settings. Expand More settings if present. Look for Paper size, Scale, Margins, page range, headers and footers, and background graphics. The controls vary by browser, operating system, and selected destination.
  4. Adjust and review the preview. If the exact paper size is unavailable, a standard size with adjusted scale or margins may be an acceptable compromise. Check page breaks, clipping, legibility, backgrounds, and headers or footers before saving.
  5. Save and verify. Give the PDF a filename and save it. When exact dimensions matter, inspect the resulting PDF’s page size in a PDF viewer or editor; the print preview alone is not a substitute for verifying the saved file.

Firefox documents paper size, scale, margins, backgrounds, and headers or footers in its print controls. Edge documents scaling options including Fit to printable area, Actual size, and a custom percentage, along with margin and background settings. Neither documentation page establishes that every standard consumer print dialog accepts arbitrary width and height.

When can you enter an exact custom paper size?

For a webpage you control: use CSS @page

If you can edit the page’s stylesheet or add a print stylesheet, CSS @page can set the printed page box’s dimensions and margins. Chrome for Developers says Chrome and Firefox support the at-rule. It affects printing of the page where the rule is applied; it is not a general control for imposing dimensions on an unrelated website.

@media print {
  @page {
    size: 210mm 297mm;
    margin: 12mm;
  }
}

Replace the example dimensions with the width and height you need. This example uses millimeters and sets all four margins to 12 mm. The CSS page size defines the printed page box, while the page content is laid out and fragmented across pages. Check the resulting preview because content can still overflow or break in unexpected places. Chrome for Developers also notes that browsers may add automatic headers and footers when there is room; the print dialog can turn them off, and very small or zero margins can suppress them.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
#1 Best Overall
Amazon Basics Multipurpose Copy Printer Paper, 8.5 x 11 Inches, 20 lb, 92 Bright, White, 1 Ream (500 Sheets), Jam-Free
  • 1 ream (500 sheets) of 8.5 x 11 white copier and printer paper for home or office use
  • Multipurpose letter size copy paper works with laser/inkjet printers, copiers and fax machines
  • Smooth 20lb weight paper for consistent ink and toner distribution; dries quickly and resists paper jams
  • Bright white paper (92 GE; 104 Euro) offers great contrast for crisp printing and vivid color
  • Virgin copy paper providing professional quality results; acid-free to prevent yellowing

See Chrome for Developers’ paged-media overview for the page-box model and browser-printing behavior.

For managed Chrome: administrators can set a page-size policy

Google documents a “Default printing page size” policy for managed Chrome. Its Custom option takes required height and width in micrometers and is available on ChromeOS and Chrome browser for Windows, Mac, and Linux. This is an administrator-managed setting, not evidence that every user sees an arbitrary-size control in the ordinary print dialog.

Google warns that incompatible values, or a size unavailable on the selected printer, cause the policy to be ignored. Consult Google’s Chrome Enterprise and Education printing policy documentation for policy configuration and compatibility details.

Rank #2
Amazon Basics Multipurpose Copy Printer Paper, 20 lb, 8.5 x 11 Inches, 3 Reams (1,500 Sheets), 92 Bright White for Home Use
  • 3 ream case (1,500 sheets) of 8.5 x 11 white copier and printer paper for home or office use
  • Multipurpose letter size copy paper works with laser/inkjet printers, copiers and fax machines
  • Smooth 20lb weight paper for consistent ink and toner distribution; dries quickly and resists paper jams
  • Bright white paper (92 GE; 104 Euro) offers great contrast for crisp printing and vivid color
  • Virgin copy paper providing professional quality results; acid-free to prevent yellowing

For a desktop application embedding WebView2: use its PDF API

Developers embedding Microsoft WebView2 can create PDF output with custom print settings through PrintToPdf or PrintToPdfStream. The ShowPrintUI route opens a browser or operating-system print dialog and offers less customization. These are application-development options, not ordinary browser preferences. See Microsoft Learn’s WebView2 printing documentation.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

What to check before saving

  • Page dimensions: confirm the selected size or verify the saved PDF’s actual dimensions when precision matters.
  • Clipping and pagination: check whether wide elements are cut off and whether content breaks at sensible points.
  • Scale and legibility: shrinking content to fit can make text too small; scaling changes content size.
  • Margins: margins reduce the usable content area and can alter page breaks.
  • Backgrounds and browser furniture: check whether background graphics and automatic headers or footers are included. Firefox and Edge expose relevant print controls, but the available options depend on the workflow.

Web pages can print differently from how they appear on screen. Edge also documents Immersive Reader as a way to reduce page clutter where that feature is available; it is a layout workaround, not a means of defining arbitrary PDF dimensions.

Or skip the browser setup

ScreenshotNeo is a website screenshot API and MCP server. It returns PNG, JPEG, WebP, or PDF from one GET request. Its PDF options include paper size, margins, landscape orientation, and page ranges. This produces a PDF through an API rather than setting up a custom paper size in your browser’s print dialog.

Rank #3
HP Printer Paper | 8.5 x 11 Paper | Copy &Print 20 lb | 1 Ream Case - 500 Sheets| 92 Bright | FSC Certified | 200060
  • HP Papers is sourced from renewable forest resources and has achieved production with 0% deforestation in North America. Each ream is wrapped in a polyurethane coated paper wrapper to protect the cut sheets from moisture damage
  • Sheet size – 8.5 x 11; Thickness – 20 pounds; Brightness – 92 bright white
  • HP Copy&Print20 20 pounds printer paper is Forest Stewardship Council (FSC) certified and contributes toward satisfying credit MR1 under LEED (Leadership in Energy and Environmental Design)
  • All HP Papers provide premium performance on HP equipment, as well as on all other printer and copier equipment; 100% satisfaction guaranteed; ColorLok technology provides more vivid colors, bolder blacks and faster drying
  • Superior quality, reliability, and dependability for high-volume printing at home, at school and in the office; HP Copy&Print20 print and copy paper prevents yellowing over time to ensure a long-lasting appearance for added archival quality

For example, this cURL request captures the supplied URL as a PDF; see the ScreenshotNeo API documentation for request options.

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

ScreenshotNeo removes cookie and consent banners, newsletter popups, and chat widgets before capture; each cleanup step can be turned off. Bot checks, blank pages, timeouts, failed loads, and cache hits cost nothing, and response headers report the page verdict and billing status. Its MCP server includes tools for AI agents: take_screenshot, get_page_info, and capture_pdf.

What’s actually slowing this PC down?

Pick the symptom - the matching free tool is one click away.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

The Free plan includes 1,000 shots per month with no card. Paid plans start at $5 for 3,000 shots; yearly billing gives two months free, and every feature is on every plan. Learn about ScreenshotNeo or sign up free for 1,000 screenshots a month with no card.

Troubleshooting custom-size PDF output

The print dialog has no custom dimensions field

That can be normal: a paper-size menu does not guarantee a free-form width-and-height field. If you control the page, set its print dimensions with @page. In a managed Chrome environment, ask the administrator whether the documented page-size policy is configured. Otherwise, choose the closest available standard size or use an application API such as WebView2 if you are developing the software that generates the PDF.

Rank #4
Amazon Basics Multipurpose Copy Printer Paper, 20 lb, 8.5 x 11 Inches, 5 Reams (2,500 Sheets), 92 Bright White
  • 5 ream case (2,500 sheets) of 8.5 x 11 white copier and printer paper for home or office use
  • Multipurpose letter size copy paper works with laser/inkjet printers, copiers and fax machines
  • Smooth 20lb weight paper for consistent ink and toner distribution; dries quickly and resists paper jams
  • Bright white paper (92 GE; 104 Euro) offers great contrast for crisp printing and vivid color
  • Virgin copy paper providing professional quality results; acid-free to prevent yellowing

The custom size is ignored

For managed Chrome policy, check that the width and height values are compatible and that the selected printer supports the size; Google says incompatible or unavailable sizes cause the policy to be ignored. For CSS, verify that the stylesheet applies to print and that your browser supports the rule.

Content is clipped, tiny, or split awkwardly

Review the preview, then adjust scale and margins or change the page dimensions. Edge’s Fit to printable area, Actual size, and custom percentage settings produce different trade-offs: fitting can shrink content, while actual size can leave wide content outside the printable area. If you control the page, revise its print CSS and inspect the pagination again.

Free tools Windows power users keep installed

One-click scans. No signup required.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Backgrounds or headers and footers are missing or unexpected

Check the print dialog’s background-graphics and headers-and-footers controls. Browser-generated headers and footers are separate from the page’s own printed content, and their appearance can depend on available margin space.

Best Value
Amazon Basics Multipurpose Copy Printer Paper, 20 lb, 8.5 x 11 Inches, 8 Reams (4,000 Sheets), 92 Bright White, Great for Crisp Ink Printing
  • 8 ream case (4,000 sheets) of 8.5 x 11 white copier and printer paper for home or office use
  • Multipurpose letter size copy paper works with laser/inkjet printers, copiers and fax machines
  • Smooth 20lb weight paper for consistent ink and toner distribution; dries quickly and resists paper jams
  • Bright white paper (92 GE; 104 Euro) offers great contrast for crisp printing and vivid color
  • Virgin copy paper providing professional quality results; acid-free to prevent yellowing

The saved PDF does not have the expected page size

Reopen the print dialog and verify its destination and paper-size selection, then inspect the PDF’s page dimensions in a viewer or editor. Do not assume that choosing a similarly named paper size, changing scale, or seeing the expected preview guarantees the exact saved dimensions.

Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Frequently Asked Questions

Can I set any width and height in every browser’s Save to PDF dialog?

No. The official help pages document paper-size controls and other print settings, but do not establish a free-form dimension field in every browser, platform, or destination.

Does CSS @page let me change the size of any website I visit?

No. It applies when you control or can supply the page’s print stylesheet; it is not a universal visitor-side setting.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Is Chrome’s custom page-size policy a normal user setting?

No. It is a managed Chrome policy configured by an administrator.

Quick Recap

Bestseller No. 1
Amazon Basics Multipurpose Copy Printer Paper, 8.5 x 11 Inches, 20 lb, 92 Bright, White, 1 Ream (500 Sheets), Jam-Free
Amazon Basics Multipurpose Copy Printer Paper, 8.5 x 11 Inches, 20 lb, 92 Bright, White, 1 Ream (500 Sheets), Jam-Free
1 ream (500 sheets) of 8.5 x 11 white copier and printer paper for home or office use; Virgin copy paper providing professional quality results; acid-free to prevent yellowing
$6.97
Bestseller No. 2
Amazon Basics Multipurpose Copy Printer Paper, 20 lb, 8.5 x 11 Inches, 3 Reams (1,500 Sheets), 92 Bright White for Home Use
Amazon Basics Multipurpose Copy Printer Paper, 20 lb, 8.5 x 11 Inches, 3 Reams (1,500 Sheets), 92 Bright White for Home Use
Virgin copy paper providing professional quality results; acid-free to prevent yellowing
$21.96
Bestseller No. 3
HP Printer Paper | 8.5 x 11 Paper | Copy &Print 20 lb | 1 Ream Case - 500 Sheets| 92 Bright | FSC Certified | 200060
HP Printer Paper | 8.5 x 11 Paper | Copy &Print 20 lb | 1 Ream Case - 500 Sheets| 92 Bright | FSC Certified | 200060
Sheet size – 8.5 x 11; Thickness – 20 pounds; Brightness – 92 bright white
$6.97
Bestseller No. 4
Amazon Basics Multipurpose Copy Printer Paper, 20 lb, 8.5 x 11 Inches, 5 Reams (2,500 Sheets), 92 Bright White
Amazon Basics Multipurpose Copy Printer Paper, 20 lb, 8.5 x 11 Inches, 5 Reams (2,500 Sheets), 92 Bright White
Virgin copy paper providing professional quality results; acid-free to prevent yellowing
$29.14
Bestseller No. 5
Amazon Basics Multipurpose Copy Printer Paper, 20 lb, 8.5 x 11 Inches, 8 Reams (4,000 Sheets), 92 Bright White, Great for Crisp Ink Printing
Amazon Basics Multipurpose Copy Printer Paper, 20 lb, 8.5 x 11 Inches, 8 Reams (4,000 Sheets), 92 Bright White, Great for Crisp Ink Printing
Virgin copy paper providing professional quality results; acid-free to prevent yellowing
$53.19

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.