Print PDFs directly in the browser or delegate it to your NodeJS backend. Use the same document definition in both cases. Forget about manual x, y calculations. Declare document structure and let pdfmake do the rest. Use paragraphs, columns, lists, tables, canvas, etc. Declare your own styles, use custom fonts, build a DSL and extend the framework. Provides a set of options to disable font layout cache and to control when pages are flushed to the output file. Pdfmake is runnable in browser (client-side) and in Node.js (server-side). PDF name can be defined only by using metadata title property. Add-ons used in browsers can affect the functionality of pdfmake (especially for open() and print()). If pdfmake is not working try disable add-ons in browser. The supported browsers are Internet Explorer 10+, Edge 12+, Firefox, Chrome, Opera and Safari.

Features

  • Support for complex, multi-level (nested) structures
  • Helper methods for opening/printing/downloading the generated PDF
  • Setting of PDF metadata (e.g. author, subject)
  • Access to current page number and page count
  • Headers automatically repeated in case of a page-break
  • Text-alignments (left, right, centered, justified),

Project Samples

Project Activity

See All Activity >

Categories

Printing, PDF

License

MIT License

Follow pdfmake

pdfmake Web Site

Other Useful Business Software
Ship AI Apps Faster with Vertex AI Icon
Ship AI Apps Faster with Vertex AI

Go from idea to deployed AI app without managing infrastructure. Vertex AI offers one platform for the entire AI development lifecycle.

Ship AI apps and features faster with Vertex AI—your end-to-end AI platform. Access Gemini 3 and 200+ foundation models, fine-tune for your needs, and deploy with enterprise-grade MLOps. Build chatbots, agents, or custom models. New customers get $300 in free credit.
Try Vertex AI Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of pdfmake!

Additional Project Details

Programming Language

JavaScript

Related Categories

JavaScript Printing Software, JavaScript PDF Software

Registered

2021-06-22