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 →Repair Windows errors before they cause bigger problemsFix Now →Firefox’s --headless option runs the browser without a graphical interface, but Mozilla’s current command-line reference does not document a command-line option for printing a webpage to PDF. Firefox documents a headless screenshot option, which saves an image rather than a paginated PDF. For a PDF using Firefox’s documented workflow, open the page in Firefox, choose Print…, select Save to PDF, adjust the print settings, and save.
Can Firefox headless save a webpage as PDF directly?
Not through a PDF-printing option documented in Mozilla’s current command-line reference. That reference defines --headless as running Firefox without a GUI and separately documents --screenshot [path] for saving a screenshot. The screenshot option implies headless mode, but its output is an image, not a PDF. See Mozilla’s command-line reference.
As an Amazon Associate I earn from qualifying purchases.
This is a statement about the documented Firefox command-line interface, not a claim that no external automation or later browser build could produce PDFs. Mozilla notes that available parameters can depend on build and platform; run firefox --help to see what your installation accepts.
What’s actually slowing this PC down?
Pick the symptom - the matching free tool is one click away.
Save a webpage as PDF in Firefox
- Open the webpage in Firefox.
- Open the browser menu and choose Print….
- In print preview, select Save to PDF from the destination dropdown.
- Set the page range and layout options you need, then click Print and choose where to save the file.
This workflow uses Firefox’s print preview, not headless mode. Mozilla’s instructions are in How to print web pages in Firefox.
#1 Best Overall
- 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
Settings that affect the PDF
- Orientation, paper size, scale, and margins: adjust these to control fit and whitespace.
- Pages: print all pages or specify a page range.
- Pages per sheet: fit multiple document pages onto each printed sheet.
- Headers and footers: include or omit page details.
- Backgrounds: choose whether to print background colors and images. Background printing is unavailable when simplified format is selected.
Check the preview before saving: a site can use different styling for print than for the screen, so content and layout may change.
Use simplified formatting when available
Firefox’s Simplified print format can remove clutter such as buttons, advertisements, and background images. Its availability depends on whether the page has a simplified version; the setting is also unavailable if Reader View is already enabled. If the page offers Reader View, you can enable it before printing. See Print a simplified, cleaner version of webpages.
Rank #2
- 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)
When Firefox’s screenshot option is enough
If you need an image rather than a document with printable pages, Firefox documents --screenshot [path]. Mozilla says this option implies headless mode. It is not a substitute for PDF export when you need page ranges, paper size, margins, or a paginated document. Check the command-line reference and your local firefox --help output for the syntax available in your build and platform.
Or skip the browser setup
If you need a webpage screenshot rather than a print-layout PDF, ScreenshotNeo is a website screenshot API and MCP server for developers. Its one-call request returns a PNG, JPEG, WebP, or PDF; the API’s PDF output is an alternative when a headless browser setup is not what you want.
Rank #3
- 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
For example, this cURL request captures a page as WebP:
curl -G "https://api.screenshotneo.com/v1/shot" -d access_key=YOUR_API_KEY --data-urlencode url=https://stripe.com -o shot.webp
See the ScreenshotNeo documentation for the API options and PDF configuration. Cookie and consent banners are accepted and removed before capture, along with supported newsletter popups and chat widgets; these cleanup steps can be disabled individually. Bot checks, blank pages, timeouts, failed loads, and cache hits are not billed, and response headers report the page verdict and billing status. An MCP server exposes screenshot and PDF tools for AI agents. The Free plan includes 1,000 shots per month with no card; paid plans start at $5 for 3,000 shots.
Sign up for 1,000 free screenshots a month—no card required.
Rank #4
- IRIScan Express, portable scanner : scans color and black and white documents a blazing speed up to 8ppm simplex. Color scanning won’t slow you down as the color scan speed is the same as the black and white scan speed.
- IRIScan Express mobile scanner is powered via an included micro USB 2. 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. USB cable provided. AC Adapter not provided and not needed.
- IRIScan flatbed scanner uses a simplex scanning mode allows for quick and straightforward scanning of single-sided documents. IRIScan with its full portable features is the ideal document scanners for computers.
- IRIScan document scanner : Versatile scanning capabilities, including scanning to Word, PDF, and Excel formats with companion software provided Readiris OCR
- Receipt scanner and card scanner with Additional features include scanning business cards directly to Outlook, photo scanning, and receipt scanning for efficient document management
Troubleshooting
“Unknown option” or no PDF output from a command
Do not assume --headless means PDF export: it only indicates that Firefox runs without a GUI. Consult Mozilla’s command-line reference and run firefox --help for options supported by your local build.
The screenshot is an image, not a PDF
--screenshot is documented for screenshot output. Use Firefox’s print preview and Save to PDF for a PDF through the documented Firefox workflow.
Best Value
- Scanner type: Document
- Connectivity technology: USB
- With Auto Scan Mode, the scanner automatically detects what you're scanning
- Digitize documents and images
The saved PDF looks different from the webpage
Webpages can use print-specific styles. Review print preview and adjust scale, orientation, paper size, margins, and background printing. Try simplified format if the page offers it and the setting is available.
Why the PDF-printing CLI question comes up
Mozilla Bugzilla issue 1407238 is titled “Cli argument for print page or generate pdf command in Firefox headless mode.” It provides historical context for a request, not proof of feature availability or status in every later Firefox build.
Frequently Asked Questions
Does Firefox’s `–headless` option itself export a PDF?
No. It runs Firefox without a GUI; Mozilla’s current command-line reference documents screenshots separately and does not list a PDF-printing option.
Can I use Firefox’s `–screenshot` option to make a paginated PDF?
No. It saves a screenshot image. Use the print preview’s Save to PDF destination for a PDF.
Quick Recap
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.




