Extracting pages from a PDF for printing means copying only the pages you actually need into a separate PDF file, so when you hit Print, the printer produces exactly that subset — in the order you specify — instead of the entire original document. The Extract PDF Pages tool does this directly in your browser: you pick a local PDF, list the page numbers or page ranges you want, and download a new file that contains only those pages, with page graphics, crop box, media box, and a 90-degree rotation copied as part of each page object rather than re-rasterized as an image. The source file, your selection, and the resulting PDF all stay on your device; nothing is uploaded to Lizely. The new file is what you open and send to the printer, which is what makes this approach so useful when a 90-page report only needs pages 20 through 30, or a 200-page manual only needs the troubleshooting chapter. Once the new PDF is downloaded, a normal print job — single-sided, double-sided, multiple pages per sheet — runs from the new file rather than the original.

extract pages from pdf for printing
Extract PDF Pages for Printing Without Wasting Paper

Why Extract Pages Before Printing?

Extraction is the right move when the printing task is much smaller than the document itself, and the size of that mismatch is often significant. Printing from a long PDF without extracting first means scrolling, choosing custom ranges in the printer dialog every time, and printing in the page order the document dictates rather than the order you want. Extracting produces a clean, small, predictable file that opens instantly and prints straight through, with no chance of an off-by-one page sneaking into the printout.

There are a few common situations where the printing step becomes much faster once extraction has done the work:

  • Reading assignments or chapters. Pulling chapter 3 out of a 300-page textbook means printing one short file instead of selecting the range by hand and risking pages from adjacent chapters.
  • Contract or report excerpts. Sending a client just pages 4–8 of a 60-page proposal keeps the printout focused and avoids mixing in unrelated sections.
  • Slide handouts. Pulling a single slide deck from a mixed PDF of meeting notes avoids printing pages that were never meant to be a handout.
  • Cleaning up a scan. When a scanned document has blank or duplicate pages mixed in, extracting only the meaningful pages produces a smaller, cleaner print job.

For all of these, the print dialog no longer has to do the work that file preparation can do better.

What Extract PDF Pages Does

The Extract PDF Pages tool builds a fresh PDF from the page objects you select, using the pdf-lib library inside the current browser. When you choose a file, the browser validates that it is a PDF and that the file size does not exceed 50 MiB, then loads the original bytes locally without sending them anywhere. You then type the page numbers you want in the order you want them, and the tool copies each selected page object — including its graphics, media box, crop box, and a 90-degree rotation — into a new document. The new PDF is exposed through a temporary local object URL that you can save to disk. The original PDF remains untouched, and a local source link lets you reopen it for comparison. Closing the page or replacing the file clears the temporary data.

How to Extract PDF Pages for Printing

  1. Open the Extract PDF Pages tool and choose your unencrypted PDF. The file must be 50 MiB or smaller and contain 500 pages or fewer.
  2. Wait for the tool to load the document locally. The browser does not upload the file; pdf-lib reads the bytes in the current tab.
  3. Type the page numbers you want in the order you want them printed. Use one-based numbers separated by commas or spaces, and a hyphen for inclusive ranges. For example, 1, 3-5, 8 produces pages 1, 3, 4, 5, and 8 in that order.
  4. Confirm the selection. The tool keeps only the first occurrence of each page, so a duplicate like 3, 1-3 is treated as 3, 1, 2 and the repeated page is reported.
  5. Run the extraction. The tool copies the selected page objects into a new PDFDocument and exposes the new bytes through a temporary URL.
  6. Download the new PDF, open it in your usual viewer, and confirm the page count, order, and visual appearance before printing.
  7. Send the new file to your printer. Adjust the printer settings (single- or double-sided, paper size, scaling) for the new document, not the original.

Selection Syntax for a Print-Ready Output

The parser is strict, which is the point — every rejected token prevents an accidental page being added or skipped in a file you are about to print. The rules:

  • Pages are one-based, matching the page numbers shown by an ordinary PDF viewer.
  • Tokens are separated by commas or whitespace.
  • A hyphen defines an inclusive ascending range, like 3-5.
  • Descending ranges like 5-3 are rejected rather than silently reversed.
  • Decimal values, negative values, malformed ranges, and pages outside the loaded document are rejected with an explicit error.
  • Token order is the output order. 5, 2-3 prints original page 5 first, then pages 2 and 3.
  • Repeated pages follow a first-occurrence rule. 3, 1-3 keeps pages 3, 1, 2 and reports the duplicate.
  • The selection field accepts up to 4,000 characters. Over-limit input is rejected, not truncated.

This matters for printing because the order and presence of pages in the output file directly determines what comes out of the printer. A few common selections, with the resulting page set, are shown below.

SelectionWhat the new PDF contains
1Page 1 only
3-5Pages 3, 4, 5 in that order
1, 3-5, 8Pages 1, 3, 4, 5, 8
5, 2-3Pages 5, 2, 3 (token order preserved)
3, 1-3Pages 3, 1, 2 (duplicate 3 ignored, reported)
5-3Rejected — descending range

What Carries Over to the New PDF — and What Doesn't

Because the new file is a rebuilt PDF, not a screenshot of the original, page graphics, the media box, the crop box, and a 90-degree rotation are copied as part of each selected page object — the printed page should look like the original page. File size, however, does not always scale with page count, because shared resources like fonts and images are copied where a page needs them. A single page pulled out of an image-heavy document can still be large, and extracting one page can retain all the data that page actually uses.

Several interactive or document-wide features may not survive cleanly, because they can reference objects that are not part of the selected pages:

  • Digital signatures. A new document has different bytes, so the signature cannot remain valid.
  • AcroForm fields, annotations, links, and bookmarks. These can depend on objects outside the selected pages.
  • Page labels and document outlines. These are document-wide and may need to be rebuilt.
  • Embedded files, layers, and cross-page destinations. Same reason.
  • Dynamic XFA forms. pdf-lib does not preserve XFA behavior, and the original authoring software is the right tool for those documents.
  • Password-protected files. Encryption is not bypassed, so the file will not load.

For a printing task this usually does not matter — printed pages look the same as the source. It matters when the output needs to remain a faithful signed, navigable, or interactive copy of the original. The boundary values that decide whether the tool can complete the task at all are summarized below.

BoundaryLimitBehavior at the boundary
File size50 MiB (52,428,800 bytes)A file at this size is accepted; a larger file is rejected, not shortened.
Page count500 pagesA document with 500 pages is accepted; a longer document is rejected.
Selection input4,000 charactersOver-limit input is rejected, not partly applied.
EncryptionNonePassword-protected or encrypted files are not opened.

Pre-Print Checklist for the Extracted File

Before sending the new file to the printer, a few quick checks prevent wasted paper and ink:

  1. Open the new PDF in the same viewer you'll use for the final print and confirm the page count matches your selection.
  2. Flip through the order to make sure the token order produced the sequence you want. If the order is wrong, edit the selection rather than reordering in the print dialog.
  3. Check any links on extracted pages — if a link points to a page that was not extracted, the destination will be missing in the printout.
  4. Match the paper size in your printer settings to the media box of the extracted pages. If the original was A4 and your printer defaults to Letter, set the page size explicitly to avoid shrinking or cropping.
  5. Keep the original PDF on hand. The new file is built from selected page objects, not the whole document, and the source remains the authoritative copy if anything looks off in the printout.
  6. For double-sided jobs, confirm the printed order in the duplex settings. An inverted selection like 8, 1-3 may print in a surprising order under the printer's default duplex logic; test one copy before running a large print run.

If the printing task is more involved than a one-off extract — for example, two-up booklets, multiple pages per sheet, or a poster split into tiles — different tools handle those cases after the extraction step. For most everyday print jobs, however, extracting first produces a cleaner printout than fighting with the printer dialog, and the new file is small enough to email or archive as the printable version of the source.

Related reading: Look Up Paper Sizes for Multiple Files at Once.

Related reading: How to Extract Links From a PDF for Beginners.