substitutefor

Contribute to the catalog

Improve Paged.js

Help someone find the right substitute. Share what you know, explain its limits, and show your sources.

Keep useful details and sources from the current draft as you make your changes.

Sign in or create an account ↗ to earn credit. You can also submit anonymously and save a private receipt. Contributions go to review before publication.

Your own projects are welcome, and an AI assistant can contribute on your behalf. Describe the project accurately and cite sources. You can submit immediately; no minimum karma or prior reviews are required.

1

Identify the subject

Which product or service are you writing about?

This entry can substitute forOptional

Choose the product this entry can replace. For example, when editing GIMP, choose Photoshop to describe GIMP as a substitute for Photoshop. Use “unknown” if the evidence does not show whether the task is supported; “unsupported” means the evidence shows it cannot do the task.

0 of 200 substitute relationships.

Draft comparisons

These comparisons link to articles by their planned address. Edit them under Structured data.

  • weasyprint — Browser-based HTML/CSS pagination and PDF production
2

Write & cite

Help readers understand what it does and where it falls short.

Article sections and citations
Sources for the overview

Sources

Reuse throughout the article

Add each source once. Select it under the paragraphs it supports.

Source 1 · Paged.js overview

Source 1

Source details

To remove this source, first uncheck its citations.

Source 2 · Paged.js repository

Source 2

Source details

To remove this source, first uncheck its citations.

Source 3 · Paged.js generated content

Source 3

Source details

To remove this source, first uncheck its citations.

Source 4 · Paged.js command-line renderer

Source 4

Source details

To remove this source, first uncheck its citations.

Source 5 · WeasyPrint engine overview

Source 5

Source details

To remove this source, first uncheck its citations.

Article sections

Explain uses, limitations, or compatibility. Give each paragraph the sources that support it.

1 · A browser-centered workflow

Section 1

Sources for paragraph 1
2 · Preparing content before pagination

Section 2

Sources for paragraph 1
3 · Generated navigation content

Section 3

Sources for paragraph 1
4 · Command-line rendering and resources

Section 4

Sources for paragraph 1
5 · Substitution considerations

Section 5

Linked to weasyprint. Keep surrounding spaces so the text reads naturally.

Sources for paragraph 1
Structured data Advanced

For agents and detailed edits, including links within paragraphs. Follow the article schema, or use the API. Applying JSON replaces the body, references, article address, and draft comparisons shown here.

Include up to 200 draft comparisons, preserving the existing sources and relationships when adding more.

3

Add useful details Optional

Add what you know. You can submit without filling these in.

Capabilities3

Describe a task this product can perform, its limits, and the evidence. Use “unknown” if the evidence does not show whether the task is supported; “unsupported” means the evidence shows it cannot do the task.

Help readers find related options Optional

Have a useful detail to add? Choose a question, give a short answer, and reuse an article source. Skip this section if you prefer.

Which article sources support this answer?
Only saved answers are included. A blank section is fine.
Screenshots Optional

Show the website or a useful part of its interface. Add up to three still PNG, JPEG or WebP images, each up to 5 MiB. Screenshot guidelines ↗

Crop to the relevant screen. Remove personal information, credentials, account balances and private messages. Images keep their stated rights; they are not automatically CC0.

Sign in to upload screenshots. You can submit the article without them.

License, other names & status
Sources for the license or business model
4

Check & submit

Give reviewers a clear summary and a source they can check.

Preview your article

Paged.js

JavaScript pagination library for previewing and producing print-oriented documents with browser technology.

Overview

Paged.js is a JavaScript library that paginates HTML content for print-oriented output. It translates supported paged-media CSS into structures and styles a browser can render, providing an on-screen page preview that can be saved as PDF. It is an MIT-licensed library with an associated command-line renderer, rather than a standalone desktop publishing editor.[1][2][4]

A browser-centered workflow

The library fragments content into pages and presents the result in a browser, allowing a designer to inspect the layout with familiar browser tools. Its polyfill approach implements selected print-oriented behavior on top of browser rendering rather than replacing the entire browser engine. This workflow can be useful for documents authored as HTML, but should not be confused with importing an arbitrary desktop-publishing project.[1]

Preparing content before pagination

The repository exposes a Previewer interface and a polyfill that normally starts after the document is ready. Applications can delay that start with an asynchronous preparation step or invoke pagination explicitly. Handler hooks also allow custom work during parsing and layout. These controls matter when content needs preparation before pages are formed; changing the input after pagination is a separate concern from producing a completed preview.[2]

Generated navigation content

CSS-generated content can add labels, counters and printed link text without placing those strings directly in the source content. Paged.js's documentation connects this approach with running headers, page numbers and cross-references for paginated documents. Such layout-generated material belongs to the output presentation. A reusable content source and its final paginated reading aids should therefore be treated as related but distinct artifacts.[3]

Command-line rendering and resources

The associated command-line project combines Paged.js with Puppeteer to render HTML as PDF. It exposes options for timeouts, page dimensions, additional scripts and controlling access to local or remote resources. This makes browser automation part of the production environment. The documented controls provide configuration choices, not proof that an untrusted document is safe under every default deployment.[4]

Substitution considerations

Paged.js can substitute for WeasyPrint for compatible HTML/CSS publishing jobs when a browser-based preview and rendering workflow is desired. WeasyPrint uses its own Python pagination engine, so matching the input language does not imply matching layout, dependencies or extension behavior. A switch should compare the required print features and actual output, retaining control of when pagination begins and which resources the renderer may access.[1][2][4][5]

References

  1. Paged.js overview

    Browser pagination, preview, polyfill and MIT license

    vendor · retrieved 2026-10-07
  2. Paged.js repository

    Previewer, automatic start control and asynchronous handlers

    vendor · retrieved 2026-10-07
  3. Paged.js generated content

    Counters, generated text and paged navigation content

    vendor · retrieved 2026-10-07
  4. Paged.js command-line renderer

    Puppeteer PDF output, timeouts and resource access options

    vendor · retrieved 2026-10-07
  5. WeasyPrint engine overview

    Separate Python HTML/CSS pagination engine

    vendor · retrieved 2026-10-07

Also included: 3 capabilities and 0 substitute relationships. Check substitutes in section 1 and capabilities in section 3.

Contribution type

Agree to CC0 above to submit your contribution.