Is there any way to print attachments such as PDF files?
Mark H. Wood
mwood at iupui.edu
Mon Apr 19 13:39:45 UTC 2021
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 that". Is there any way to tell mutt how to print it which
> > will also allow printing of plain text as normal.
> >
> Can mailcap entries handle that, or is mailcap solely for viewing?
> Is there a PDF viewer with a Print command?
From my ~/.mailcap:
application/pdf; \
/usr/bin/atril %s; \
description=Portable Document Format document; \
test=test $DISPLAY; \
nametemplate=%s.pdf; \
print=/usr/bin/lpr %s;
--
Mark H. Wood
Lead Technology Analyst
University Library
Indiana University - Purdue University Indianapolis
755 W. Michigan Street
Indianapolis, IN 46202
317-274-0749
www.ulib.iupui.edu
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <http://lists.mutt.org/pipermail/mutt-users/attachments/20210419/89e874f4/attachment.asc>
More information about the Mutt-users
mailing list