Trang web này sẽ có chức năng hạn chế trong khi chúng tôi trải qua bảo trì để cải thiện trải nghiệm của bạn. Nếu một bài viết không giải quyết được vấn đề của bạn và bạn muốn đặt câu hỏi, chúng tôi có cộng đồng hỗ trợ của chúng tôi đang chờ để giúp bạn tại @FirefoxSupport trên Twitter và /r/firefox trên Reddit.

Tìm kiếm hỗ trợ

Tránh các lừa đảo về hỗ trợ. Chúng tôi sẽ không bao giờ yêu cầu bạn gọi hoặc nhắn tin đến số điện thoại hoặc chia sẻ thông tin cá nhân. Vui lòng báo cáo hoạt động đáng ngờ bằng cách sử dụng tùy chọn "Báo cáo lạm dụng".

Tìm hiểu thêm

How to convert SAVED .eml file to .pdf?

  • 6 trả lời
  • 3 gặp vấn đề này
  • 1 lượt xem
  • Trả lời mới nhất được viết bởi Staticide

more options

How do I convert a SAVED .eml Thunderbird file to .pdf? I know I can directly print a Thunderbird email to pdf (or even print it on paper). But once I save the T-Bird email to an .eml file somewhere else on my computer, it is no longer possible to turn it into a .pdf file. I can view it again in what appears to be it’s original email form, but attempting to preview it or print it just turns up a mostly blank page with “about:blank” at the top and the date and time at the bottom. No message between top and bottom. I guess I don't understand how I can see what appears to be the original email, but the ink or .pdf printer can't see it.

I'm using Ubuntu 14.04 and the pdf printer is installed--I use it all the time on other kinds of files to save them (and paper). My T-Bird version is 45.5.1 and is due for a security update soon.

How do I convert a SAVED .eml Thunderbird file to .pdf? I know I can directly print a Thunderbird email to pdf (or even print it on paper). But once I save the T-Bird email to an .eml file somewhere else on my computer, it is no longer possible to turn it into a .pdf file. I can view it again in what appears to be it’s original email form, but attempting to preview it or print it just turns up a mostly blank page with “about:blank” at the top and the date and time at the bottom. No message between top and bottom. I guess I don't understand how I can see what appears to be the original email, but the ink or .pdf printer can't see it. I'm using Ubuntu 14.04 and the pdf printer is installed--I use it all the time on other kinds of files to save them (and paper). My T-Bird version is 45.5.1 and is due for a security update soon.

Giải pháp được chọn

After some further research: the best workaround for this issue for me (using Ubuntu 14.04 and Thunderbird 45.5.1) seems to be to simply open the .eml file with Libre Office Writer and then print with CUPS-pdf printer. I also found that opening with a text editor like Gedit (native to Ubuntu) or Notepad worked pretty much the same. I can also open the .eml file in Thunderbird and then go to “Message” on the toolbar and then “Edit As New Message” to get the email, but when I print it, I only get the body of the message and nothing else (like From: To: Subject, Time etc).

More study revealed that Thunderbird messages saved as .eml files are actually MHTML format (short for MIME HTML). To then convert them to .pdf one needs a printer that is capable of doing that. Apparently there is a shareware pdf printer called “novapdf” that will create .pdf from MHTML in various versions of Windows, but not in Linux distros. Trying to find the Linux equivalent of “novapdf” might be an exercise in futility. For me, the workaround above will be just fine and equals SOLVED.

Đọc câu trả lời này trong ngữ cảnh 👍 0

Tất cả các câu trả lời (6)

more options

I suspect this is an issue with Thunderbird's printing. I occasionally see the same when printing HTML formatted messages; an empty page with "about:blank" and other bits of headers and footers. I think the fact that it shows up with PDF is a bit of a red herring.

If I am desperate to print it (which is quite rare) then I'd copy'n'paste the content to Word and print from there. Or yank out the HTML code into its own new HTML document and then view and print it in my browser.

But I haven't yet been able to identify any particular feature of these messages so can't reproduce it at will to raise a bug report.

more options

A thought. There is a "hidden feature" in Thunderbird in that if you select part of the text of a message then print, it prints only the selected part. I wonder if you were to select the whole message (ctrl+a) before printing this might provoke it into working correctly?

more options

Thanks, Zenos. Both of your replies give me food for thought and some focus on where to do a little experimenting. After that, I'll post what I learned, if anything. I don't want to say it's solved until I dig a little deeper.

more options

Giải pháp được chọn

After some further research: the best workaround for this issue for me (using Ubuntu 14.04 and Thunderbird 45.5.1) seems to be to simply open the .eml file with Libre Office Writer and then print with CUPS-pdf printer. I also found that opening with a text editor like Gedit (native to Ubuntu) or Notepad worked pretty much the same. I can also open the .eml file in Thunderbird and then go to “Message” on the toolbar and then “Edit As New Message” to get the email, but when I print it, I only get the body of the message and nothing else (like From: To: Subject, Time etc).

More study revealed that Thunderbird messages saved as .eml files are actually MHTML format (short for MIME HTML). To then convert them to .pdf one needs a printer that is capable of doing that. Apparently there is a shareware pdf printer called “novapdf” that will create .pdf from MHTML in various versions of Windows, but not in Linux distros. Trying to find the Linux equivalent of “novapdf” might be an exercise in futility. For me, the workaround above will be just fine and equals SOLVED.

more options

If you are looking to convert .eml to .pdf format than you need to prefer a third party tool EML to PDF Converter which can efficiently export EML data into PDF format without any error. For More Info: -

Được chỉnh sửa bởi James vào

more options

Jon, While Zook eml converter may be a worthy product and worth $149 to a company or $49 to a home Windows user, it really doesn't fit into the spirit of Linux open-source software. (Notice that my problem involves Thunderbird on Ubuntu.) My solution posted above works fine and is $49 cheaper. But it's probably good that you offered a link to it and let users decide if the cost is worth it for their uses.

Được chỉnh sửa bởi Staticide vào