[ 
https://issues.apache.org/jira/browse/PDFBOX-5445?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17558803#comment-17558803
 ] 

Zbigniew Minciel commented on PDFBOX-5445:
------------------------------------------

Thanks for taking time to reply. Actually concatenating mails for printing is 
the default options. It was not working as well as printing each mail to 
separate PDF file and merging via PdfBox application. Lately  I made progress 
to resolve observed issue. I will keep support for merging mails via PDFBox 
since solution is more reliable. I would say that at this point the capability 
I requested are nice to have.

Mails are typically not simple text blocks but rather simple or complex HTML 
blocks.  The challenge is to make sure they are separated from each other and 
the mail meta data doesn't affect all mails. Typical problem was too small font 
size across all mails. Lately I encapsulated each mail as <article>HTML 
mail</article> and figured out why the font size was affected across all or 
some emails.  MBox Viewer relies on  Edge or Chrome or legacy Internet Browser 
or free wkhtmltopdf to convert HTML to PDF. Observed issues:
 # Words longer than page line (typically hyperlinks). Edge or Chrome Browser 
would attempt to fit the long word on a single line by selecting smaller font 
size. Unfortunately  this will affect all fonts within the mail and all mails.
 # Mails may contain <pre></pre> single or multiple line text blocks.  Long 
text lines were causing the same issue as in 1.
 # Inline images with width longer than the page width were causing the same 
issue as in 1.

Resolving the above cases helped to eliminate "small font size" issue.  But 
there could be other issues I am not aware and therefore  I will keep support 
for  PdfBox options.

 

> Add command line options to accept file containing list of files to merge
> -------------------------------------------------------------------------
>
>                 Key: PDFBOX-5445
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-5445
>             Project: PDFBox
>          Issue Type: New Feature
>    Affects Versions: 3.0.0 PDFBox
>         Environment: windows 11, 10
>            Reporter: Zbigniew Minciel
>            Priority: Major
>
> Users of free MBox Mail Viewer require to export hundreds of emails into PDF 
> and merge them into a single PDF document. Due to command line length  
> limitations, smaller subsets of PDF mails have to be merged first and merge 
> again multiple times. Merging must preserve order of emails. Option to accept 
> a file containing a list of PDF files to merge would be very helpful.
> Another very useful option would be suppress "Page Break" at the end of PDF 
> document to allow multiple small emails to fit on a page. Frequently, emails 
> within the same thread are small.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to