Blob


1 <head>
2 <title>psfonts(1) - Plan 9 from User Space</title>
3 <meta content="text/html; charset=utf-8" http-equiv=Content-Type>
4 </head>
5 <body bgcolor=#ffffff>
6 <table border=0 cellpadding=0 cellspacing=0 width=100%>
7 <tr height=10><td>
8 <tr><td width=20><td>
9 <tr><td width=20><td><b>PSFONTS(1)</b><td align=right><b>PSFONTS(1)</b>
10 <tr><td width=20><td colspan=2>
11 <br>
12 <p><font size=+1><b>NAME </b></font><br>
14 <table border=0 cellpadding=0 cellspacing=0><tr height=2><td><tr><td width=20><td>
16 psfonts, psdownload &ndash; add necessary fonts to PostScript document
17 for printing<br>
19 </table>
20 <p><font size=+1><b>SYNOPSIS </b></font><br>
22 <table border=0 cellpadding=0 cellspacing=0><tr height=2><td><tr><td width=20><td>
24 <tt><font size=+1>psfonts</font></tt> [ <i>files ...</i> ]
25 <table border=0 cellpadding=0 cellspacing=0><tr height=5><td></table>
27 <tt><font size=+1>psdownload</font></tt> [ <tt><font size=+1>options</font></tt> ] [ <i>files ...</i> ]<br>
29 </table>
30 <p><font size=+1><b>DESCRIPTION </b></font><br>
32 <table border=0 cellpadding=0 cellspacing=0><tr height=2><td><tr><td width=20><td>
34 Plan 9&#8217;s <a href="../man1/troff.html"><i>troff</i>(1)</a> and <a href="../man1/tr2post.html"><i>tr2post</i>(1)</a> use non-standard PostScript fonts
35 (found in <tt><font size=+1>/usr/local/plan9/postscript/font</font></tt>). Before sending PostScript
36 output from <i>tr2post</i> to a standard printer, code implementing the
37 non-standard fonts must be added to the PostScript.
38 <table border=0 cellpadding=0 cellspacing=0><tr height=5><td></table>
40 <i>Psfonts</i> copies <i>files</i> (or standard input) to standard output, adding
41 necessary PostScript fonts.
42 <table border=0 cellpadding=0 cellspacing=0><tr height=5><td></table>
44 <i>Psdownload</i> is the more general program used to implement <i>psfonts</i>.
45 The options are:<br>
46 <tt><font size=+1>&#8722;c</font></tt> <i>comment<br>
47 </i>
48 <table border=0 cellpadding=0 cellspacing=0><tr height=2><td><tr><td width=20><td>
50 Expect the fonts used in the document to be listed in a comment
51 beginning with this string (default <tt><font size=+1>%%DocumentFonts:</font></tt>).<br>
53 </table>
54 <tt><font size=+1>&#8722;f</font></tt> <i>atend<br>
55 </i>
56 <table border=0 cellpadding=0 cellspacing=0><tr height=2><td><tr><td width=20><td>
58 Expect extra fonts comments at the end of the document, so read
59 the entire input before starting output (by default this only
60 happens if a <tt><font size=+1>%%DocumentFonts: (atend)</font></tt> comment is encountered).<br>
62 </table>
63 <tt><font size=+1>&#8722;m</font></tt> <i>mapfile<br>
64 </i>
65 <table border=0 cellpadding=0 cellspacing=0><tr height=2><td><tr><td width=20><td>
67 Use <i>mapfile</i> to translate from PostScript font names to files.
68 Each line in the map has two white space-separated fields: a font
69 name and the corresponding file. If <i>mapfile</i> is not a rooted path,
70 it is evaluated relative to the <i>fontdir</i> (see <tt><font size=+1>&#8722;H</font></tt> below).<br>
72 </table>
73 <tt><font size=+1>&#8722;p</font></tt> <i>printer<br>
74 </i>
75 <table border=0 cellpadding=0 cellspacing=0><tr height=2><td><tr><td width=20><td>
77 Set the name of the printer. This option is deprecated. Its only
78 effect is to override the <tt><font size=+1>&#8722;r</font></tt> option, causing <i>fontdir</i><tt><font size=+1>/printers/</font></tt><i>printer</i>
79 to be used as the resident fonts list.<br>
81 </table>
82 <tt><font size=+1>&#8722;r</font></tt> <i>residentfonts<br>
83 </i>
84 <table border=0 cellpadding=0 cellspacing=0><tr height=2><td><tr><td width=20><td>
86 Read a list of fonts assumed to be on the printer (not necessary
87 to re-download) from the file <i>residentfonts</i>. If <i>residentfonts</i>
88 is not a rooted path, it is evaluated relative to the <i>fontdir</i>
89 (see <tt><font size=+1>&#8722;H</font></tt> below).<br>
91 </table>
92 <tt><font size=+1>&#8722;H</font></tt> <i>fontdir<br>
93 </i>
94 <table border=0 cellpadding=0 cellspacing=0><tr height=2><td><tr><td width=20><td>
96 Set the directory that is assumed to contain the PostScript fonts
97 and information about printers (see <tt><font size=+1>&#8722;m</font></tt>, <tt><font size=+1>&#8722;p</font></tt>, and <tt><font size=+1>&#8722;r</font></tt> above; default
98 <tt><font size=+1>/usr/local/plan9/postscript/font</font></tt>).<br>
100 </table>
101 <tt><font size=+1>&#8722;T</font></tt> <i>tmpdir<br>
102 </i>
103 <table border=0 cellpadding=0 cellspacing=0><tr height=2><td><tr><td width=20><td>
105 Use <i>tmpdir</i> for storing temporary files (default <tt><font size=+1>/var/tmp</font></tt>).<br>
107 </table>
108 <tt><font size=+1>&#8722;D</font></tt>&nbsp;&nbsp;&nbsp;&nbsp;Produce copious amounts of debugging information on standard
109 error.<br>
110 <tt><font size=+1>&#8722;I</font></tt>&nbsp;&nbsp;&nbsp;&nbsp;Continue running even after fatal errors occur.<br>
112 </table>
113 <p><font size=+1><b>EXAMPLE </b></font><br>
115 <table border=0 cellpadding=0 cellspacing=0><tr height=2><td><tr><td width=20><td>
117 See <a href="../man1/tr2post.html"><i>tr2post</i>(1)</a> for an example.<br>
119 </table>
120 <p><font size=+1><b>SOURCE </b></font><br>
122 <table border=0 cellpadding=0 cellspacing=0><tr height=2><td><tr><td width=20><td>
124 <tt><font size=+1>/usr/local/plan9/bin/psfonts<br>
125 /usr/local/plan9/src/cmd/postscript/download<br>
126 </font></tt>
127 </table>
128 <p><font size=+1><b>SEE ALSO </b></font><br>
130 <table border=0 cellpadding=0 cellspacing=0><tr height=2><td><tr><td width=20><td>
132 <a href="../man1/troff.html"><i>troff</i>(1)</a>, <a href="../man1/tr2post.html"><i>tr2post</i>(1)</a><br>
134 </table>
136 <td width=20>
137 <tr height=20><td>
138 </table>
139 <!-- TRAILER -->
140 <table border=0 cellpadding=0 cellspacing=0 width=100%>
141 <tr height=15><td width=10><td><td width=10>
142 <tr><td><td>
143 <center>
144 <a href="../../"><img src="../../dist/spaceglenda100.png" alt="Space Glenda" border=1></a>
145 </center>
146 </table>
147 <!-- TRAILER -->
148 </body></html>