Re: Converting UTF-8 email text to PDF

2025-02-14 Thread Linux-Fan
Loris Bennett writes: Hi, I am using Emacs' Gnus to display a buffer containing an email. I want to convert this email to a PDF file. [...] Does anyone have a better suggestion? If you can get your e-mail in .eml format, you could use a tool specifically targeted at converting e-mails t

Re: Converting UTF-8 email text to PDF

2025-02-13 Thread Ralph Katz
On 2/13/25 03:32, Loris Bennett wrote: Hi, I am using Emacs' Gnus to display a buffer containing an email. I want to convert this email to a PDF file. If I save the mail to a file I get: $ file einladung.txt einladung.txt: news or mail, Unicode text, UTF-8 text Does anyone have a be

Re: Converting UTF-8 email text to PDF

2025-02-13 Thread Richmond
On 13/02/2025 10:32, Loris Bennett wrote: > Hi, > > I am using Emacs' Gnus to display a buffer containing an email. > I want to convert this email to a PDF file. > > You can print the file into a pdf from a web browser. Put file:/// into the location bar and navigate to the text file, select it and

Re: Converting UTF-8 email text to PDF (addendum)

2025-02-13 Thread Hans
I got this information from here: https://askubuntu.com/questions/27097/how-to-print-a-regular-file-to-pdf-from-command-line[1] where are shown other ways, too. Best Hans [1] https://askubuntu.com/questions/27097/how-to-print-a-regular-file-to-pdf-from-command-line

Re: Converting UTF-8 email text to PDF

2025-02-13 Thread Hans
Hi Loris, you wrote > $ file einladung.txt > einladung.txt: news or mail, Unicode text, UTF-8 text So you already have a simple textfile. Did you try the following? enscript einladung.txt -o - | ps2pdf - einladung.pdf Please note, "enscript" is a package which can easily be installed witrh ap

Re: Converting UTF-8 email text to PDF

2025-02-13 Thread Loris Bennett
Hans writes: > Easiest way for me: Just print into a file. The result is a pdf-file. How do you do that from Emacs? > However, do not know, if your printer driver can do this, but I suppose, most > printer drivers are able to it. > > Best > > Hans > > Am Donnerstag, 13. Februar 2025, 11:32:09

Re: Converting UTF-8 email text to PDF

2025-02-13 Thread Loris Bennett
Rand Pritelrohm writes: > On 2025-02-13 11:32:09, Loris Bennett wrote: > >> Hi, >> > [snip] >> >> Does anyone have a better suggestion? >> > [snip] > > Hello, > > I use with success 'paps' > https://github.com/dov/paps > > Maybe you can find it in repos. 'paps' is indeed available for bookwo

Re: Converting UTF-8 email text to PDF

2025-02-13 Thread Rand Pritelrohm
On 2025-02-13 11:32:09, Loris Bennett wrote: > Hi, > [snip] > > Does anyone have a better suggestion? > [snip] Hello, I use with success 'paps' https://github.com/dov/paps Maybe you can find it in repos. Regards, Rand

Re: Converting UTF-8 email text to PDF

2025-02-13 Thread Hans
Easiest way for me: Just print into a file. The result is a pdf-file. However, do not know, if your printer driver can do this, but I suppose, most printer drivers are able to it. Best Hans Am Donnerstag, 13. Februar 2025, 11:32:09 CET schrieb Loris Bennett: > Hi, > > I am using Emacs' Gnus t

Converting UTF-8 email text to PDF

2025-02-13 Thread Loris Bennett
Hi, I am using Emacs' Gnus to display a buffer containing an email. I want to convert this email to a PDF file. If I save the mail to a file I get: $ file einladung.txt einladung.txt: news or mail, Unicode text, UTF-8 text I have tried the following approaches to converting to PDF: 1. a2ps