Horacio Sanson wrote:
I want to print emails from within mutt but when the emails contain Japanese
text in UTF-8 encoding I get very bad results and wasted paper.
For printing Japanese text I use the command:
cat JapaneseDoc.txt | paps | lpr
Here the paps converts the japanese text to postscript that lpr can correctly
send to the default printer.
The question is how to set this command in the print_command of mutt? It seems
this command does not support pipes.
Maybe you didn't code it correctly?
In mutt,
1. select a message that contains Japanese text
2. type:
:set print_command='paps | lpr'
3. hit 'p' for print
Message printed.
4. add the above to your ~/.muttrc
Tested this successfully with the following:
ユズの香りの炊き込みご飯
Gen-Paul.