October DealsAmazon USOctober deal check: compare before you payAmazon US: current deals, useful picks and tech finds.Check DealsSlow PC?RecommendedPC slow today? Run a repair scan before it gets worseResolve common Windows issues and optimize system performance.Scan NowOctober DealsAmazon USDeal season is back - check today's better picksAmazon US: current deals, useful picks and tech finds.See Picks×
Skip to content
World desk4 min

Puppeteer PDF Paper Sizes: Supported Formats and Dimensions

Puppeteer’s PDF presets include Letter, Legal, Tabloid, Ledger, and ISO A0–A6. Compare dimensions and learn when to use custom width and height or CSS @page.

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.

Puppeteer’s page.pdf() supports 11 named paper presets: Letter, Legal, Tabloid, Ledger, and ISO A0 through A6. Set one with format; for an unlisted size, provide width and height with units. In Puppeteer 25.12.0, format takes precedence over those dimensions, while preferCSSPageSize: true lets CSS @page control the sheet size.

Supported Puppeteer PDF paper sizes

The Puppeteer 25.12.0 PaperFormat reference lists these presets and dimensions:

As an Amazon Associate I earn from qualifying purchases.

Preset Dimensions (inches) Dimensions (centimeters)
Letter 8.5 × 11 21.59 × 27.94
Legal 8.5 × 14 21.59 × 35.56
Tabloid 11 × 17 27.94 × 43.18
Ledger 17 × 11 43.18 × 27.94
A0 33.1102 × 46.811 84.1 × 118.9
A1 23.3858 × 33.1102 59.4 × 84.1
A2 16.5354 × 23.3858 42 × 59.4
A3 11.6929 × 16.5354 29.7 × 42
A4 8.2677 × 11.6929 21 × 29.7
A5 5.8268 × 8.2677 14.8 × 21
A6 4.1339 × 5.8268 10.5 × 14.8

Use the conventional capitalization shown in the table, such as format: 'A4' or format: 'Letter'. The type also permits uppercase, lowercase, and capitalized variants. These are PDF page dimensions supported by Puppeteer; they do not guarantee that a particular printer, tray, or print provider can handle every size.

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

Set a preset, orientation, and margins

Pass the desired paper preset to page.pdf(). Orientation and margins are separate settings. For example, this Node.js snippet generates an A4 portrait PDF with 12 mm margins:

#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
await page.pdf({
  path: 'output.pdf',
  format: 'A4',
  landscape: false,
  margin: {
    top: '12mm',
    right: '12mm',
    bottom: '12mm',
    left: '12mm',
  },
});

landscape defaults to false. Set it to true to print the page sideways; it changes orientation rather than selecting a different preset. For example, use format: 'A4', landscape: true for landscape A4. The PDFOptions reference documents no margins as the default, so specify a margin object when the output needs them.

Use custom PDF dimensions

When none of the named presets matches the required sheet, omit format and set width and height. Each accepts a number or a string with a unit; explicit units make the intended measurements clear. For example:

Rank #2
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
await page.pdf({
  path: 'custom.pdf',
  width: '210mm',
  height: '297mm',
});

That example supplies the dimensions directly instead of naming a preset. Do not combine it with format expecting the dimensions to win: if format is set, Puppeteer gives it precedence over width and height.

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

Let CSS @page set the sheet size

For print layouts whose size is defined in CSS, declare it with @page and enable preferCSSPageSize:

Rank #3
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
await page.pdf({
  path: 'css-sized.pdf',
  preferCSSPageSize: true,
});
@page {
  size: A4;
}

With preferCSSPageSize: true, the CSS page size takes priority. The option defaults to false; when it is false, Puppeteer scales content to fit the paper size specified through its PDF options. Avoid setting competing sizes in CSS and in the options unless the precedence is intentional.

Print CSS and color behavior

page.pdf() generates the PDF using the print CSS media type, as described in Puppeteer’s Page.pdf() reference. If the page should use screen styles instead, emulate that media type before generating 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
await page.emulateMediaType('screen');
await page.pdf({ path: 'screen-styled.pdf', format: 'A4' });

Puppeteer also modifies colors for printing by default. If exact colors matter to the design, use the CSS property -webkit-print-color-adjust to force exact color rendering. Media type and color adjustments affect layout and appearance; they are separate from the selected paper dimensions.

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

Troubleshoot size and layout mismatches

  • The PDF has the wrong dimensions: Check for format in the PDF options. It takes priority over width and height. If CSS should control size, use @page and set preferCSSPageSize: true.
  • The page is scaled unexpectedly: With preferCSSPageSize left false, Puppeteer scales content to fit the configured paper size. Enable the option when CSS @page should determine the physical page size.
  • The page is rotated unexpectedly: Check the landscape setting. It defaults to false; set it to true only when a sideways page is intended.
  • Margins are not what the layout expects: Set each side explicitly with the margin option. Puppeteer documents no margins as the default.
  • Colors or styles differ from the browser view: PDF output uses print media by default and print color adjustments can change colors. Emulate screen media when appropriate, or use -webkit-print-color-adjust when exact colors are required.
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Version context

The preset names, dimensions, and PDF option behavior above are from Puppeteer’s 25.12.0 API references. Its supported browsers page maps that release to Chrome for Testing 154.0.8037.57 and Firefox 156.0.1. Those browser versions are context for that documented Puppeteer release, not a guarantee about every installed package. If you use another Puppeteer version, check its matching documentation.

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

Or skip the browser setup

If your task is to capture a web page rather than build a Puppeteer PDF workflow, ScreenshotNeo is a website screenshot API and MCP server. Its API can return a screenshot or PDF with one GET request. For example, save a PDF by requesting the documented PDF output option as described in the ScreenshotNeo API docs; here is the standard one-call screenshot request:

curl -G "https://api.screenshotneo.com/v1/shot" -d access_key=YOUR_API_KEY --data-urlencode url=https://stripe.com -o shot.webp

ScreenshotNeo accepts cookie and consent banners before capture and removes more than 60 known consent platforms, newsletter popups, and chat widgets; each of those steps can be turned off. Bot checks, blank pages, timeouts, failed loads, and cache hits are not billed, and response headers indicate the page verdict and billing status. Its MCP server lets AI agents use take_screenshot, get_page_info, and capture_pdf. The Free plan includes 1,000 screenshots per month with no card; paid plans start at $5 for 3,000 screenshots.

Sign up for ScreenshotNeo’s free plan to get 1,000 screenshots a month with no card.

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

Frequently Asked Questions

Does Puppeteer support US Letter and A4?

Yes. Both are named presets: use format: 'Letter' or format: 'A4'.

Are Tabloid and Ledger the same orientation?

No. Puppeteer lists Tabloid as 11 × 17 inches and Ledger as 17 × 11 inches.

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
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. 3
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. 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.

Leave a Reply

Your email address will not be published. Required fields are marked *

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

More from the Wire

  1. World desk4 min
    How to Spot an AI Voice Scam Before Sending MoneyDon’t rely on how a caller sounds. Pause, call back through a known number, and verify the emergency with another trusted person before sending money.
  2. Mountain View desk4 min
    Google’s SynthID Detector: How to Check AI-Generated Images, Video and AudioGoogle’s SynthID Detector looks for an embedded watermark in supported images, video and audio. Here is what its results do—and do not—show.
  3. Redmond desk20 min
    How to create a link to File or Folder in Windows 11Windows 11 gives you several ways to point to a file or folder without moving or duplicating it. You can create a desktop shortcut,…
Recommended PC Tool
Recommended PC Tool
Outdated Drivers Are Slowing You DownFree scan - exact matches
PC Slower Than It Used to Be?Free scan - under a minute

Two free Windows tools

One Free Minute Could Fix That PC

Before you go - each of these free tools takes about a minute and tackles what quietly slows a Windows PC down.

Special offer. View Outbyte info, uninstall instructions, EULA, and Privacy Policy.