> 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;
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;
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
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
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
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