Mercurial > hg > xemacs-beta
comparison man/mule/m2ps.texi @ 70:131b0175ea99 r20-0b30
Import from CVS: tag r20-0b30
author | cvs |
---|---|
date | Mon, 13 Aug 2007 09:02:59 +0200 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
69:804d1389bcd6 | 70:131b0175ea99 |
---|---|
1 \input texinfo @c -*-texinfo-*- | |
2 @setfilename ../info/m2ps | |
3 @settitle m2ps -- Converter from Mule code to PostScript | |
4 | |
5 @titlepage | |
6 @sp 6 | |
7 @center @titlefont{m2ps -- Converter from Mule code to PostScript} | |
8 @sp 4 | |
9 @center Version 2.1 | |
10 @sp 5 | |
11 @center TAKAHASHI Naoto | |
12 @center ntakahas@@etl.go.jp | |
13 @page | |
14 | |
15 @end titlepage | |
16 | |
17 @node Top, , , (mule) | |
18 @chapter m2ps -- Converter from Mule code to PostScript | |
19 | |
20 A program called @code{m2ps} is bound to Mule. m2ps works as a | |
21 filter. It converts Mule's internal code to PostScript. To print a | |
22 file, say, @file{mytext}, follow the instruction below: | |
23 | |
24 @enumerate | |
25 @item | |
26 Type @kbd{C-x C-f mytext RET} to read the file in. | |
27 | |
28 @item | |
29 Type @kbd{C-u C-x C-w tmp RET *internal* RET} to save the content | |
30 of the file with the internal representation of Mule. | |
31 | |
32 @item | |
33 Return to a shell. Then type the following command: | |
34 | |
35 @example | |
36 @samp{% m2ps < tmp | lpr} | |
37 @end example | |
38 @end enumerate | |
39 | |
40 If your default printer does not accept PostScript, specify the name | |
41 of a PostScript printer with @samp{-P} option. For example, if the name | |
42 of your PostScript printer is @samp{lw}, it should be as follows: | |
43 | |
44 @example | |
45 @samp{% m2ps < tmp | lpr -Plw} | |
46 @end example | |
47 | |
48 @chapter any2ps -- Converter from any code to PostScript | |
49 | |
50 A program called @code{any2ps} is inclued in @code{coco} package which | |
51 is distributed under `contrib' of Mule's FTP directory. With this, you | |
52 don't have to convert your text to mule's internal coding-system | |
53 @code{*internal*}. Here's the example of usage: | |
54 | |
55 @example | |
56 @samp{% any2ps < text_file > ps_file} | |
57 @end example | |
58 | |
59 @contents | |
60 @bye |