Skip to content

gnoack/mailprint

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mailprint Deluxe!

Mailprint is a replacement for muttprint: It reads an email on stdin and writes a PDF on stdout.

System requirements

  • GNU roff (groff): to format the mail to PDF
  • ImageMagick's convert: to convert profile pictures to PDF format

groff is usually already installed on Linux, because it is used to format man pages. ImageMagick is a popular package for doing image manipulation on the command line.

Installation and setup

Installation:

go install github.com/gnoack/mailprint/...@latest

In your muttrc:

set print_command="mailprint | lpr"

Alternatively, print it into a PDF viewer which first lets you look at the result:

set print_command="mailprint | zathura -"

About

Print your e-mail like it's 1989 📬

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages