[w3m-dev-en 00238] Re: printing

From: Hironori Sakamoto (h-saka@lsi.nec.co.jp)
Date: Tue Sep 26 2000 - 22:29:34 CDT

  • Next message: Johannes Zellner: "[w3m-dev-en 00239] Re: printing"

    Hello,

    >> From: Johannes Zellner <johannes@zellner.org>
    >> ah. Thank you. That's nice. Now I only need a new keymap
    >> feature which allows strings instead of function names:
    >> keymap C-p "| html2ps | lpr"
    >> or:
    >> keymap C-p "html2ps %s | lpr"
    >> (where %s is substituted by the url of the current page)
    >> This would make w3m pretty configurable :-)
    >> what do people think about that ?

    That extension of keymap is difficult.
    User will expect that the target(%s) is url in some cases,
    but it is the current buffer or the downloaded source file
    in another case.

    I know another technique to print in w3m.
    Press 'S' (it means to save buffer), and input "| a2ps | lpr".
    # "a2ps" is a converter form text file to postscript.

    Then, the followig extension of keymap will be possible.

      keymap C-p SAVE_BUFFER "| a2ps | lpr"

    How about that.
    -----------------------------------
    Hironori Sakamoto <hsaka@mth.biglobe.ne.jp>
     http://www2u.biglobe.ne.jp/~hsaka/



    This archive was generated by hypermail 2b29 : Tue Sep 26 2000 - 22:45:05 CDT