Sometimes you have just a plain ASCII KOI8-R text and you want to print it just to get it on the paper. One of the easiest ways to achieve that is to use special programs converting text to PostScript.
There are a number of programs doing such conversion. I personally prefer a2ps. Originally developed as a simple text-to-PostScript converter it became a big and highly configurable program with many options and allows you to manage various page layouts, syntax highlighting etc. Another tool (now available as a part of the GNU project) is enscript.
A text to PostScript converter has been around for a while and is one of the most versatile printing tools. The author proved to be very open to suggestions, so since the release 4.9.8 a2ps supports Cyrillic right off-the-shelf. All you need is a PostScript printer.
The command I use is:
a2ps -X koi8r --print-anyway <file>
The GNU enscript program is also designed for converting text to PostScript and it also has a non-ASCII codeset support. It doesn't have Cyrillic PostScript fonts, but it is very easy to get them, as will be explained below (thanks to Michael Van Canneyt):
textbook.tar.gzfrom the Cyrillic Software collection on sunsite.unc.edu. Extract it to a directory, where enscript fonts are located (usually
/usr/share/enscript). Now change to that directory and run the following command:
enscript --font=Textbook8 --encoding=koi8 some.file
If you want a really quick and dirty solution and you don't care about the output quality and all you need is just Cyrillic on the paper, try the rtxt2ps package. It is a very simple no-frills text-to-PostScript conversion program. The output quality is not very good (or, to be honest, just bad) but it does it's job.
If all you need is just to print an ASCII text without any additional word processing, you may try to use some programs, which would convert your Cyrillic text to a ready-to-process TeX file. One of the best programs for such purposes is translit (see section conversion). In this case, you don't even have to bother about installing the Cyrillic fonts for TeX, since translit uses a Washington Cyrillic package, which is included in most TeX distributions (or am I wrong?)