Re: Is there any way to print attachments such as PDF files?

2021-05-03 Thread Andy Spiegl
> application/pdf; pdftotext --text %s; copiousoutput; I prefer this actually: --- application/pdf; pdftotext -layout -nopgbrk -q '%s' - ; copiousoutput; description=PDF; nametemplate=%s.pdf application/x-pdf; pdftotext -layout -nopgbrk -q '%s' - ; copiousoutput; description=PDF;

Re: Is there any way to print attachments such as PDF files?

2021-04-30 Thread D.J.J. Ring, Jr.
For command line users, there is pdftotext available. https://www.tutorialspoint.com/unix_commands/pdftotext.htm A suitable entry in mailcap would enable its use. ## Plain text text/plain; gedit %s; test=RunningX; text/plain; nano %s; # ## Images image/bmp; fbi %s; image/gif; fbi %s; image/jpeg;

Re: Is there any way to print attachments such as PDF files?

2021-04-19 Thread Mark H. Wood
On Fri, Apr 16, 2021 at 01:02:39PM -0600, Paul Gilmartin via Mutt-users wrote: > On 2021-04-16, at 12:28:17, Chris Green wrote: > > > > As per subject, is there any easy way to print attachments such as PDF > > files? Hitting 'p' against an attachment just says "I don't know how > > to print

Re: Is there any way to print attachments such as PDF files?

2021-04-16 Thread Paul Gilmartin via Mutt-users
On 2021-04-16, at 12:28:17, Chris Green wrote: > > As per subject, is there any easy way to print attachments such as PDF > files? Hitting 'p' against an attachment just says "I don't know how > to print that". Is there any way to tell mutt how to print it which > will also allow printing of

Re: Is there any way to print attachments such as PDF files?

2021-04-16 Thread Chris Green
On Fri, Apr 16, 2021 at 09:07:39PM +0200, Anders Damsgaard wrote: > * Chris Green [2021-04-16 19:28:17 +0100]: > > > As per subject, is there any easy way to print attachments such as PDF > > files? Hitting 'p' against an attachment just says "I don't know how > > to print that". Is there any

Is there any way to print attachments such as PDF files?

2021-04-16 Thread Chris Green
As per subject, is there any easy way to print attachments such as PDF files? Hitting 'p' against an attachment just says "I don't know how to print that". Is there any way to tell mutt how to print it which will also allow printing of plain text as normal. -- Chris Green