mailbagit icon indicating copy to clipboard operation
mailbagit copied to clipboard

Printing single-page PDFs

Open jtruitt1 opened this issue 3 months ago • 0 comments

Is your feature request related to a problem? Please describe. Currently, PDF derivatives are subdivided into standard letter-size pages. In longer emails with many images (such as email newsletters), the default efforts to avoid breaking images across pages results in significant added white space and reduced readability. Printing the PDF to a single page would better recreate the original unpaged format of email.

Describe the solution you'd like I've figured out a way to do this using headless Chrome. Here is code for a pdf-chrome derivative that implements single-page PDFs.

jtruitt1 avatar Mar 07 '24 19:03 jtruitt1