<<< Date Index >>>     <<< Thread Index >>>

Re: Printing messages - Setting fontsize.



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Tuesday, September  5 at 03:39 PM, quoth cga2000:
>The default font that I come up with when I print messages from mutt
>using 'P' <print-command> (set to lpr) is a few pts too large to my
>liking.
>
>What I currently do as a workaround is to 'e' -- edit the raw message
>and use the Vim :ha (hardcopy) command, thus benefiting from my adequate
>.vimrc pfn= settings.

What it seems a lot of folks do is use `enscript` to print, rather 
than lpr. You could also use a home-made shellscript to do it with 
vim.

For example:

    set print_command="enscript --word-wrap --margins=::: \
    -f 'Times-Roman11' -F 'TimesRoman14' \
    --fancy-header='enscript' -i3"

Or the homemade shellscript could be something like:

    #!/bin/sh
    cat - >/tmp/muttprint.$$
    vim '+set ft=mail' +ha +q /tmp/muttprint.$$
    rm /tmp/muttprint.$$

~Kyle
- -- 
It ain't the parts of the Bible that I can't understand that bother 
me, it is the parts that I do understand.
                                                         -- Mark Twain
-----BEGIN PGP SIGNATURE-----
Comment: Thank you for using encryption!

iD8DBQFE/dj2BkIOoMqOI14RAh5CAKCArAOTmJuDXJbBpl0VceU55q401wCfebwT
iF3K12Es4+c8mCb1AuJ5RcU=
=ZwJY
-----END PGP SIGNATURE-----