1MGP2PS(1) BSD General Commands Manual MGP2PS(1)
2
4 mgp2ps — generate PostScript file from MagicPoint file
5
7 mgp2ps [-cirtV] [-f psfile] [-p papersize] [-x xmargin] [-y ymargin]
8 mgpfile
9
11 mgp2ps is a converter from MagicPoint file mgpfile to PostScript file.
12 If -f option is specified, PostScript will be generated to psfile. Oth‐
13 erwise, printed to the standard output.
14
15 If there exists foo.eps corresponding to foo.gif (or whatever), the
16 encapsulated PostScript file will be included to the PostScript file
17 instead.
18
19 The following options are available:
20
21 -c Generate color PostScript file (experimental). By default mgp2ps
22 will generate monochrome postscript file.
23
24 -i Paint inside icon symbols.
25
26 -r Stack the paper in reverse order.
27
28 -V Be verbose.
29
30 -f psfile
31 Pathname to put the PostScript output.
32
33 -p papersize
34 papersize specifies the size of the paper to be used. a3, a4,
35 a5, b5, A3, A4, A5, B5, letter, legal, ledger, tabloid,
36 statement, executive, folio, quarto and 10x14 are available.
37 Default size is a4.
38
39 -x xmargin
40
41 -y ymargin
42 xmargin and ymargin specifies length of the margin area around
43 the edge of the paper.
44
45 -t Use truetypefont instead of psfont (ASCII font only).
46
47 -e Specify encodings. At this moment, "iso-8859-1", "latin1",
48 "iso-8859-2" "and latin-2" are supported as encodings.
49
50 -m emulate "%pause" directive.
51
52 -X engine
53 Do not use rendering engine, specified by engine. engine can be
54 only FreeType so far.
55
56 -g level
57 specify the distance level between lines. If level is 0, the
58 result will be close to the result of xft2 rendering. If others,
59 it will be close to the result of other rendering engines.
60
62 mgp(1)
63
65 mgp2ps was created so that Kazu Yamamoto could submit his tutorial docu‐
66 ment to the committee of Internet Week '97.
67
68BSD June 20, 2019 BSD