awesome-repositories.com
Blog
MCP
awesome-repositories.com

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectMCP serverAboutHow we rankPress
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
crabbly avatar

crabbly/Print.js

0
View on GitHub↗
4,548 stars·687 forks·JavaScript·MIT·19 views

Print.js

Print.js is a JavaScript print library that provides a client-side interface for triggering system print dialogs and formatting HTML content for physical paper output from a web browser. It functions as a browser print controller that manages the lifecycle of temporary print documents to ensure consistent rendering.

The library utilizes a DOM-to-frame printing utility that clones specific HTML elements into hidden iframes. This process isolates printable content from the main page layout, allowing the system to render a clean document without triggering a full page reload.

The tool covers browser document formatting and client-side print management. It uses dedicated print stylesheets to reformat layouts and hide non-essential UI elements specifically for physical output.

Features

  • Browser Print Utilities - Provides a client-side interface for sending web content and data directly to connected printers.
  • Print Isolation Frames - Utilizes hidden iframes to isolate printable content from the main application layout.
  • Print Dialog Interfaces - Provides the interface to trigger native browser print dialogs for document output.
  • Print Document Formatting - Formats HTML content using dedicated styles and isolated frames to ensure professional physical printing.
  • Print Process Managers - Coordinates the state and timing of the browser print workflow through a JavaScript interface.
  • Print Stylesheets - Employs dedicated print stylesheets to optimize web page layouts specifically for physical paper.
  • Browser Print Controllers - Controls how web pages are rendered on paper and manages the browser printing interface.
  • DOM-to-Print Utilities - Clones specific DOM structures into isolated printable windows to ensure clean document output.
  • JavaScript Print Libraries - Provides a comprehensive JavaScript library for triggering print dialogs and formatting HTML for paper output.
  • Print Layouts - Organizes specific parts of a website for print displays while removing unnecessary UI elements.
  • CSS Layout Overlays - Uses custom stylesheets to hide non-essential elements and rearrange layouts for physical output.
  • Print-Optimized Layouts - Generates HTML views specifically styled and formatted for physical printing.
  • Temporary Document Lifecycles - Manages the instantiation and immediate destruction of short-lived DOM nodes for print jobs.

Star history

Star history chart for crabbly/print.jsStar history chart for crabbly/print.js

How this analysis was created: This summary and feature list are AI-generated from collected project material and can contain mistakes. Stars, license and language are imported from GitHub. Inclusion does not mean that we have tested or audited this project. Check the source documentation for any feature you depend on. Learn more on our About page.

AI search

Explore more awesome repositories

Describe what you need in plain English — the AI ranks thousands of curated open-source projects by relevance.

Start searching with AI

Frequently asked questions

What does crabbly/print.js do?

Print.js is a JavaScript print library that provides a client-side interface for triggering system print dialogs and formatting HTML content for physical paper output from a web browser. It functions as a browser print controller that manages the lifecycle of temporary print documents to ensure consistent rendering.

What are the main features of crabbly/print.js?

The main features of crabbly/print.js are: Browser Print Utilities, Print Isolation Frames, Print Dialog Interfaces, Print Document Formatting, Print Process Managers, Print Stylesheets, Browser Print Controllers, DOM-to-Print Utilities.

Which projects share features with crabbly/print.js?

Projects with overlapping indexed features include: matthewherbst/react-to-print — This project is a React print component and utility for rendering specific components or DOM elements into a browser… bafs/gutenberg — Gutenberg is a CSS print formatting framework and web-to-PDF layout engine. It provides a system for managing… whatwg/html — This repository contains the HTML specification, which defines the core standards for web page structuring, content… angular/flex-layout — This project is a responsive layout framework for Angular that provides a system of directives to create adaptive user… keldos-li/typora-latex-theme — This project is a CSS theme for the Typora editor designed to emulate LaTeX typesetting standards. It functions as an… arman19941113/dnd-resume — This project is a web-based document editor designed for the creation and formatting of professional resumes. It…

Projects sharing features with Print.js

These projects share indexed features with Print.js. Shared tags can include platform or build tooling; verify the primary use case before treating a result as a replacement.
  • matthewherbst/react-to-printMatthewHerbst avatar

    MatthewHerbst/react-to-print

    2,474View on GitHub↗

    This project is a React print component and utility for rendering specific components or DOM elements into a browser print dialog. It functions as a print layout controller and lifecycle manager, using a hidden iframe to isolate content so that printing does not alter the main page layout. The tool specializes in copying DOM and Shadow DOM content into a printable window while preserving encapsulated styles. It allows for the injection of custom fonts and CSS to manage page breaks, margins, and orientations for consistent physical paper or PDF output. The library includes asynchronous lifecy

    TypeScriptjavascriptreactreactjs
    View on GitHub↗2,474
  • bafs/gutenbergBafS avatar

    BafS/Gutenberg

    4,912View on GitHub↗

    Gutenberg is a CSS print formatting framework and web-to-PDF layout engine. It provides a system for managing stylesheets, element visibility, and structural layout rules to ensure web content maintains a consistent visual structure when converted to physical documents or PDF files. The project manages print-specific rendering through a stylesheet manager that filters out non-essential interface elements and prevents the automatic expansion of URLs. It includes utilities to enforce the rendering of background colors and images, which browsers typically strip during the printing process. The

    SCSScsscss-frameworkframework
    View on GitHub↗4,912
  • whatwg/htmlwhatwg avatar

    whatwg/html

    9,163View on GitHub↗

    This repository contains the HTML specification, which defines the core standards for web page structuring, content organization, and document rendering. It establishes the fundamental algorithms for state-machine-based tokenization, tree construction for the document object model, and origin-based security isolation. The specification provides a framework for defining custom elements with independent lifecycles and registries. It also details the requirements for cross-document communication, session history management, and the synchronization of interface properties with content attributes.

    HTMLcanvaseventsourcehtml
    View on GitHub↗9,163
  • angular/flex-layoutangular avatar

    angular/flex-layout

    5,843View on GitHub↗

    This project is a responsive layout framework for Angular that provides a system of directives to create adaptive user interfaces using CSS Flexbox and CSS Grid. It includes specialized libraries for managing flexible box alignment and structuring complex two-dimensional page grids. The framework features a breakpoint monitoring service to programmatically observe media query changes and trigger logic when viewport dimensions cross defined boundaries. To optimize performance, it includes a build-time CSS generator that uses SASS mixins to create static media query stylesheets, reducing the ne

    TypeScriptadaptiveangularengine
    View on GitHub↗5,843
  • Compare all 29 related projects→