On Thu, Nov 08, 2012 at 11:20:20PM +0100, Suvayu Ali wrote: > Hi Mutt users, > > I am a new Mutt user and I recently came across muttprint; I am > absolutely blown away by the quality of prints I can get from my emails. > However I could not find a way to interactively choose from mutt the > printer I want to print to (or print to file for that matter). So I > setup muttprint to use the most used case by default, and pipe the > message to muttprint for other cases. > > macro index,pager \cp "<pipe-message>muttprint --printer <printername>" > > Now I have a few scripts that I use to parse message headers for > filtering and other stuff. So I set pipe_decode=no. This however means > the above printing macro produces horendous prints with all the "weed" > included from the email. > 2. Is it possible to remove the "weed" when I use <pipe-message> with > pipe_decode=no in some other way?
have your macro set pipe_decode=yes, pipe the message to muttprint, and then set it back to no. -Jeremy
pgpwmsXajKVC4.pgp
Description: PGP signature