Skip to content

Allow printing PDF from blob#591

Open
diastremskii wants to merge 2 commits intocrabbly:masterfrom
diastremskii:feat/print-blob-pdf
Open

Allow printing PDF from blob#591
diastremskii wants to merge 2 commits intocrabbly:masterfrom
diastremskii:feat/print-blob-pdf

Conversation

@diastremskii
Copy link

This PR suggests adding an option to print PDF from blob downloaded elsewhere in the application.
This is useful to have a better separation between downloading the document and printing the document. Example use case: disabling the print button when a document starts loading. While it is possible to do with callbacks from printJS, it's much more simple when download and print are separated.

@MattFanto
Copy link

This would be a very useful feature any chance that this will be merged at some point?

@richard-muvirimi
Copy link

richard-muvirimi commented Aug 7, 2025

You might want to look into URL.createObjectURL for blobs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants