printPDF to return a stream
See original GitHub issueCurrently printToPDF
returns a base64
encoded string. It works great in general, but we are generating a bit huge PDFs - min 40MBs, they include lot of pages with high resolution images. Keeping such big data in memory causes performance and memories issues with node. It would be nice to take PDF content as a stream, or as a file.
Currently we are thinking about workaround with page per page printing. But it dramatically increases complexity of the service. So my question is: are there any plans to support streams for printToPDF
?
Issue Analytics
- State:
- Created 6 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
How can I display the print option for a pdf stream returned by ...
My wcf service create a pdf stream and return it, through the ajax call I'm properly handling the display in a new window...
Read more >Options for Printing PDF Stream Files which are Stored ... - IBM
The simplest way to print PDF files which are stored in the Integrated File System (IFS) is open the PDF in a PDF...
Read more >Printing a PDF from a web page - Dev Notes
I used an ASPX page which manipulates and streams the PDF file into a zero-height, zero-width IFrame to keep the user from manipulating...
Read more >Save PDF file to Stream and Load PDF file from Stream in C#
Save PDF file to Stream and Load PDF file from Stream in C# ; Step 1: New a PDF instance. ; Step 2:...
Read more >How to return a pdf file in response ? · Issue #1090 · nestjs/nest
we suppose that I have a Buffer object , How to return it in a response object? ... printPdf(body); const stream = this.printService....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@nyroDev something along the lines of:
@cyrus-and thank you so much for your quick and detailed response, it works perfectly!