pdf_using_mpdf: Return raw PDF buffer stream as string so other modules can decide what to do with it

Created on 16 September 2016, almost 9 years ago
Updated 20 June 2025, about 1 month ago

Rather than making the module make all the decisions, it would be nice to have a way to intercept the PDF output before writing to disk so that our own custom modules can snatch it up and store it on a field on a node or whatever we want to do with it. Like comment #9 in πŸ’¬ Allow to set whether to redirect on save Closed: outdated this could be possible by just returning return mpdf->Output($filename, 'S') output.

I've got a patch that adds a harmless and ambiguously expandable $options array to the API.

✨ Feature request
Status

Closed: outdated

Version

2.6

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States texas-bronius

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024