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