For those looking for an easy-to-configure and easy-to-use envelope parser/formatter/printer to use with LyX, try http://www.18james.com/utilities.html#envelope -- this is a perl translation of an Icon language program that I've used for 10 years.

Envelope can be used from the command line, but is most useful from inside emacs, vi, or LyX. To print an envelope from LyX, while writing a letter, do File->Export->Custom->Ascii and fill in the command blank with `envelope' . The script will parse the address, format the envelope, and print it on your Postscript printer.

If you use return-addresses on your letters (rather than a custom letterhead), you will need to configure the $skip variable in the code (or use -t on the command line) to skip the number of lines in your return address. You may also need to configure the $init, $x, $y, $rotate, $font, $ptsize, and/or $clear variables or their command-line equivalents to suit your printer. For documentation, do `perldoc envelope'.

Enjoy!
--

Ronald Florence www.18james.com

Reply via email to