In Elm, how can I print messages to my local printer like Pine can?
Note: Elm is not available on any UITS systems.
There is a utility called ansiprt that you can use in a
pipe to print to your local printer. It wraps its input with the ANSI
media-copy escape codes and returns it, trusting your terminal to
behave correctly. To get Pine's behavior in Elm, you can configure
Elm's "P)rint mail using" print option as:
Note: To print to your local printer in Pine, you
need to define it in the entry "printer=attached-to-ansi" in
the Setup menu or your .pinerc file.
If you are unable to find the ansiprt program on your Unix host,
you can create a copy by the method described in In Unix, how do I print a file to my local printer?
To point Elm to your copy of ansiprt,
from Elm, press o for the options menu, and
then p to change Elm's print command. Enter
the following line for the print command:
~/bin/ansiprt
Type > to save the change, and then
i to return to the index.
Also see:
- In Unix, how do I print a file to my local printer?
- In Unix, how do I print files and list or remove print jobs?
Last modified on December 03, 2007.






