Description
title: An API to the browser print/save as pdf functionality
date: 2023-08-03T13:24:57.667Z
submitter: PRIVATE
number: 64cbaaa9f2a2cf00802e5575
tags: [ ]
discussion: https://github.com/WebWeWant/webwewant.fyi/discussions/
status: [ discussing || in-progress || complete ]
related:
- title:
url:
type: [ article || explainer || draft || spec || note || discussion ]
I have a data viewing web app and I routinely want to make several prints of a particular session, e.g., different files, same viewing parameters. I want to be able to automate the print as pdf process. Ideally I could use the FileSystem API and select a folder and fill it with several pdfs that I currently have to save individually through the print dialogue. There are existing javascript pdf writing libraries, but they do not do as good a job as the built-in browser save as pdf functionality. Thanks for your time.
If posted, this will appear at https://webwewant.fyi/wants/64cbaaa9f2a2cf00802e5575/