October DealsAmazon USOctober deal check: compare before you payAmazon US: current deals, useful picks and tech finds.Check DealsClean PCRecommendedOne scan can reveal what keeps slowing WindowsLook for cleanup and repair opportunities.Run ScanOctober DealsAmazon USDeal season is back - check today's better picksAmazon US: current deals, useful picks and tech finds.See Picks×
Skip to content
World desk3 min

How to Save a Webpage as a PDF with a Dark Background

Enable background printing in the browser’s Print dialog, inspect the PDF preview for color, contrast, and page breaks, then save. Steps for Edge, Firefox, and an API-based PDF capture.

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.

To keep a webpage’s dark background in a PDF, open the browser’s Print dialog, turn on its background-printing option, check the preview, then save as PDF. A dark browser theme alone does not make the webpage print with a dark background.

Why a dark webpage can turn white in a PDF

A browser’s dark theme changes browser elements such as the toolbar and settings; it does not necessarily change how a webpage is printed. Google’s Chrome documentation describes the appearance of browser pages and controls in dark mode, not a setting that forces web content backgrounds into PDFs: Browse in Dark mode or Dark theme.

As an Amazon Associate I earn from qualifying purchases.

Printing is a separate presentation of a webpage. The site may use print styling that changes or removes its screen background, and the print dialog may omit background graphics by default. Enabling background printing can preserve those graphics, but it cannot guarantee that every page will look exactly as it does on screen.

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

Save the webpage with its dark background

  1. Open the webpage you want to save and open the browser’s Print dialog.

    #1 Best Overall
    Sale
    Epson Workforce ES-50 Compact & Lightweight Mobile Document Scanner
    • PORTABLE SCANNER FOR USE ON-THE-GO — The fastest and lightest mobile single-sheet-fed compact document scanner in its class¹
    • QUICK DOCUMENT SCANNING ― This Epson ultra-fast scanner scans a single page as quickly as 5.5 seconds²; Windows and Mac compatible
    • VERSATILE PAPER HANDLING ― Portable scanner scans documents up to 8.5 x 72 in; Also easily digitizes receipts and ID cards to make accounting, bookkeeping, and organizing simpler
    • INTUITIVE, HIGH-SPEED SOFTWARE — Epson ScanSmart Software³ is a smart tool allowing you to easily scan, review, and save; Stay organized easily with the help of this Epson scanner
    • EASY SETUP — USB-powered connect to your computer for quick and simple scanning; No batteries or external power supply required to operate portable document scanner; Standard Connectivity: USB 2.0
  2. Find the background option in the print settings and enable it. Depending on the browser, it may be called Print backgrounds or Background graphics.

  3. Inspect the print preview. Check that the background appears, the text is legible against it, and important content is not lost at page breaks.

  4. Select the browser’s PDF destination—such as Save to PDF—and save the file.

    Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
    Rank #2
    Sale
    Brother DS-640 Compact Mobile Document Scanner, (Model: DS640)
    • FAST SPEEDS - Scans color and black and white documents a blazing speed up to 16ppm (1). Color scanning won’t slow you down as the color scan speed is the same as the black and white scan speed.
    • ULTRA COMPACT – At less than 1 foot in length and only about 1. 5lbs in weight you can fit this device virtually anywhere (a bag, a purse, even a pocket).
    • READY WHENEVER YOU ARE – The DS-640 mobile scanner is powered via an included micro USB 3. 0 cable allowing you to use it even where there is no outlet available. Plug it into you PC or laptop and you are ready to scan.
    • WORKS YOUR WAY – Use the Brother free iPrint&Scan desktop app for scanning to multiple “Scan-to” destinations like PC, Network, cloud services, Email and OCR. (2) Supports Windows, Mac and Linux and TWAIN/WIA for PC/ICA for Mac/SANE drivers. (3)
    • OPTIMIZE IMAGES AND TEXT – Automatic color detection/adjustment, image rotation (PC only), bleed through prevention/background removal, text enhancement, color drop to enhance scans. Software suite includes document management and OCR software. (4)

If you need a readable document more than an exact screen replica, compare the preview with and without background graphics before saving. Dark backgrounds can use more ink if printed on paper, and a background that looks good on screen may reduce contrast in the PDF.

Microsoft Edge: include background graphics

  1. Open the webpage and press Ctrl+P on Windows or Command+P on macOS.

  2. Expand More settings.

  3. Select Background graphics, then inspect the preview and save using the available PDF destination.

    Rank #3
    Sale
    Canon imageFORMULA R10 - Portable Document Scanner, USB Powered, Duplex Scanning, Document Feeder, Easy Setup, Convenient, Perfect for Mobile Users, White
    • STAY ORGANIZED – Easily convert your paper documents into digital formats like searchable PDF files, JPEGs, and more.Power Consumption : 2.5W or less (Energy Saving Mode: 0.7W). Suggested Daily Volume : 500 scans..Does it contain liquid: no
    • CONVENIENT AND PORTABLE –lightweight and small in size, you can take the scanner anywhere from home offices, classrooms, remote offices, and anywhere in between
    • HANDLES VARIOUS MEDIA TYPES – Digitize receipts, business cards, plastic or embossed cards, reports, legal documents, and more
    • FAST AND EFFICIENT – No technical hurdles or complicated setups here; easily scan both sides of a document at the same time, in color or black-and-white, at up to 12 pages-per-minute, and with a 20 sheet automatic feeder
    • BROAD COMPATIBILITY – Works with both Windows and Mac devices, be it laptop or computer

Microsoft recommends enabling Background graphics when the preview or output differs from the webpage. The setting includes webpage background graphics in print output; it does not promise an identical reproduction of every site’s screen layout. See Microsoft’s Edge print instructions.

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

Firefox: save to PDF and print backgrounds

  1. Open the webpage’s Print dialog.

  2. Set Destination to Save to PDF.

  3. Under More settings, enable Print backgrounds.

  4. Check the preview and save the PDF.

Firefox’s Simplified format disables the Print backgrounds option. If you need the page’s dark background, turn off Simplified format and check the preview again. Mozilla also notes that webpages can be designed to look different on paper than on screen. See How to print web pages in Firefox.

Check the PDF before relying on it

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

Or skip the browser setup

If you need a PDF capture through an API, ScreenshotNeo accepts a URL in a single GET request and can return a PDF. Its capture options include PDF paper size, margins, landscape orientation, and page ranges. This route is useful for scripted captures, but it is not a guarantee that every site’s print styling will match its screen appearance.

Install Python’s requests package if needed, set your API key, and run:

Quick Recap

SaleBestseller No. 3
Canon imageFORMULA R10 - Portable Document Scanner, USB Powered, Duplex Scanning, Document Feeder, Easy Setup, Convenient, Perfect for Mobile Users, White
Canon imageFORMULA R10 - Portable Document Scanner, USB Powered, Duplex Scanning, Document Feeder, Easy Setup, Convenient, Perfect for Mobile Users, White
BROAD COMPATIBILITY – Works with both Windows and Mac devices, be it laptop or computer; This product is not intended for scanning photographs on photo paper / photographic media
$153.00
Bestseller No. 4
IRIScan Express 4 Black Compact Portable USB Simplex Document Scanner, 8 PPM for Contracts, Invoices and Business Cards, Compatible with Windows, Readiris PDF Included
IRIScan Express 4 Black Compact Portable USB Simplex Document Scanner, 8 PPM for Contracts, Invoices and Business Cards, Compatible with Windows, Readiris PDF Included
Find our Software here : irislink.com/start; IRIScan Express is only compatible Windows platform and not macintosh
$129.00
Bestseller No. 5
Canon Canoscan Lide 300 Scanner (PDF, AUTOSCAN, Copy, Send)
Canon Canoscan Lide 300 Scanner (PDF, AUTOSCAN, Copy, Send)
Scanner type: Document; Connectivity technology: USB; With Auto Scan Mode, the scanner automatically detects what you're scanning
$75.00
import requests

r = requests.get(
    "https://api.screenshotneo.com/v1/shot",
    params={"access_key": "YOUR_API_KEY", "url": "https://stripe.com", "format": "pdf"},
    timeout=90,
)
r.raise_for_status()
open("page.pdf", "wb").write(r.content)

See the ScreenshotNeo API documentation for request parameters and PDF settings. Cookie banners, popups, and chat widgets are removed before the shot; bot checks, blank pages, and failed loads are never billed. An MCP server lets AI agents take screenshots, and 1,000 screenshots a month are free with no card; paid plans start at $5 for 3,000. Sign up for ScreenshotNeo.

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.

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
PC Slower Than It Used to Be?Free scan - under a minute
Outdated Drivers Are Slowing You DownFree scan - exact matches

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.