Tagged articles
7 articles
Page 1 of 1
Goodme Frontend Team
Goodme Frontend Team
Dec 2, 2024 · Frontend Development

How to Generate Paginated PDFs from HTML with html2canvas and jsPDF

This article explains how to convert HTML content—including text, images, and tables—into PDF files using html2canvas and jsPDF, and details a dynamic pagination technique to prevent content truncation across pages, while also covering performance and export considerations.

JavaScriptfrontendhtml2canvas
0 likes · 19 min read
How to Generate Paginated PDFs from HTML with html2canvas and jsPDF
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Aug 12, 2024 · Frontend Development

Implementing Multi‑Page Print Preview and PDF Export in Vue 3 with vue3‑print‑nb, html2canvas, and jsPDF

This article explains how to achieve paginated print preview and PDF generation in a Vue 3 application by using vue3‑print‑nb for on‑demand printing, html2canvas to capture DOM elements as images, and jsPDF to compose multi‑page A4 PDFs with custom headers, footers, and spacing.

PDFVue3frontend
0 likes · 12 min read
Implementing Multi‑Page Print Preview and PDF Export in Vue 3 with vue3‑print‑nb, html2canvas, and jsPDF
Yunxuetang Frontend Team
Yunxuetang Frontend Team
Aug 18, 2023 · Frontend Development

Must‑Know JavaScript Tricks, Async useEffect Guide, and Front‑End Architecture Overview

This article compiles essential JavaScript coding tricks, explains how to correctly use async functions within React’s useEffect, outlines the full spectrum of front‑end infrastructure technologies, and shares a practical jsPDF PDF‑export tutorial along with an interview about Evan You’s life beyond code.

Coding TipsEvan YouFrontend Architecture
0 likes · 3 min read
Must‑Know JavaScript Tricks, Async useEffect Guide, and Front‑End Architecture Overview
Architect's Journey
Architect's Journey
Dec 22, 2020 · Frontend Development

Best Practices for Silent Web PDF Printing in E‑commerce Workflows

This article analyzes three implementation scenarios for silently printing PDF procurement lists in a shipping process, compares PDF‑related technologies on stability, integration and cost, and concludes with a Lodop‑based solution that converts backend data into a hidden canvas for direct printing.

LodopPDFWeb Development
0 likes · 4 min read
Best Practices for Silent Web PDF Printing in E‑commerce Workflows
MaoDou Frontend Team
MaoDou Frontend Team
Aug 12, 2019 · Frontend Development

Convert Vue Pages to PDF with html2canvas and jsPDF

Learn how to create a Vue plugin that captures a page with html2canvas and generates a PDF using jsPDF, covering required dependencies, plugin implementation, installation steps, and usage example to export dynamic table content as a PDF file.

Vuefrontendhtml2canvas
0 likes · 7 min read
Convert Vue Pages to PDF with html2canvas and jsPDF