?? install.htm
字號:
<html>
<head>
<title>How to install Ghostscript</title>
<!-- $Id: Install.htm $ -->
<!-- Originally: install.txt -->
</head>
<body>
<!-- [1.0 begin visible header] -------------------------------------------- -->
<!-- [1.1 begin headline] -------------------------------------------------- -->
<p><table width="100%" border="0">
<tr><th align="center" bgcolor="#CCCC00"><font size=6>
How to install Ghostscript
</font>
</table>
<!-- [1.1 end headline] ---------------------------------------------------- -->
<!-- [1.2 begin table of contents] ----------------------------------------- -->
<h2>Table of contents</h2>
<blockquote><ul>
<li><a href="#Overview">Overview of how to install Ghostscript</a>
<li><a href="#Install_DOS">Installing Ghostscript on DOS</a>
<li><a href="#Install_Windows">Installing Ghostscript on MS Windows</a>
<li><a href="#Install_OS2">Installing Ghostscript on OS/2 2.x</a>
<li><a href="#Install_Unix">Installing Ghostscript on Unix</a>
<li><a href="#Install_VMS">Installing Ghostscript on OpenVMS</a>
</ul></blockquote>
<!-- [1.2 end table of contents] ------------------------------------------- -->
<!-- [1.3 begin hint] ------------------------------------------------------ -->
<p>For other information, see the <a href="Readme.htm">Ghostscript
overview</a> and "<a href="Make.htm">How to build Ghostscript from source
code</a>".
<!-- [1.3 end hint] -------------------------------------------------------- -->
<hr>
<!-- [1.0 end visible header] ---------------------------------------------- -->
<!-- [2.0 begin contents] -------------------------------------------------- -->
<h1><a name="Overview"></a>Overview of how to install Ghostscript</h1>
<p>
You must have three things to run Ghostscript:
<ol>
<li>The Ghostscript executable file; on some operating
systems, more than one file is required. These are entirely
platform-specific. See below for details.
<li>Initialization files that Ghostscript reads in when it
starts up; these are the same on all platforms.
<ul>
<li><b><tt>gs_</tt></b>*<b><tt>.ps</tt></b> unless Ghostscript was compiled
using the "compiled initialization files" option. See the documentation of
<a href="Psfiles.htm">PostScript files distributed with Ghostscript</a>.
<li><b><tt>pdf_</tt></b>*<b><tt>.ps</tt></b> if Ghostscript was compiled
with the ability to interpret Adobe Portable Document Format (PDF) files,
that is, <b><tt>pdf.dev</tt></b> was included in
<b><tt>FEATURE_DEVS</tt></b> when Ghostscript was built.
<li><b><tt>Fontmap</tt></b>, unless you plan always to invoke Ghostscript
with the <a href="Use.htm#FONTMAP_switch"><b><tt>-dNOFONTMAP</tt></b>
switch</a>.
</ul>
<li>Fonts, for rendering text. These are platform-independent,
but if you already have fonts of the right kind on your platform,
you may be able to use those. See below for details. Also see the
<a href="Fonts.htm">documentation on fonts</a>.
</ol>
<p>
The <a href="Use.htm">usage documentation</a> describes the search
algorithms used to find initialization files and font files. The
per-platform descriptions that follow tell you where to install these
files.
<hr>
<h1><a name="Install_DOS"></a>Installing Ghostscript on DOS</h1>
<p>
You need the files <b><tt>GS386.EXE</tt></b> and <b><tt>DOS4GW.EXE</tt></b>
to run Ghostscript. You should install all the files except the fonts in
<b><tt>C:\GS</tt></b>, and the fonts in <b><tt>C:\GS\FONTS</tt></b>.
<p><a name="Use_platform_fonts_DOS"></a>
If you have Adobe Type Manager (ATM) fonts installed on your system, and
you wish to use them with Ghostscript, you may wish to replace the
<b><tt>FONTMAP</tt></b> file with <b><tt>FONTMAP.ATM</tt></b>, and to add
to the environment variable <b><tt>GS_LIB</tt></b> the name of the
directory where the fonts are located (see below for more information about
<b><tt>GS_LIB</tt></b>). Before you do this, please read carefully the
license that accompanies the ATM fonts; Aladdin Enterprises takes no
responsibility for any possible violations of such licenses. Similarly, if
you have Adobe Type Basics, you may wish to replace <b><tt>FONTMAP</tt></b>
with <b><tt>FONTMAP.ATB</tt></b>. Finally, if you have neither ATM nor ATB
but you have Adobe Acrobat installed, you can use the Acrobat fonts in
place of the ones provided with Ghostscript by adding the Acrobat fonts
directory to <b><tt>GS_FONTPATH</tt></b> and removing these fonts from
<b><tt>FONTMAP</tt></b>:
<blockquote>
Courier, Courier-Bold, Courier-BoldOblique, Courier-Oblique, Helvetica,
Helvetica-Bold, Helvetica-BoldOblique, Helvetica-Oblique, Symbol, Times-Bold,
Times-BoldItalic, Times-Italic, Times-Roman, ZapfDingbats
</blockquote>
<hr>
<h1><a name="Install_Windows"></a>Installing Ghostscript on MS Windows</h1>
<p>
You need these files to run Ghostscript on Win32s (partial 32-bit
environment under MS Windows 3), Windows 95, or Windows NT:
<blockquote><table cellpadding=0 cellspacing=0>
<tr valign=top> <td><b><tt>GS16SPL.EXE</tt></b>
<td>
<td>Print spooler for Win32s (Windows 3) only; must be in the same
directory as <b><tt>GWSIN32.EXE</tt></b>
<tr valign=top> <td><b><tt>GSWIN32.EXE</tt></b>
<td>
<td>32-bit Ghostscript using windows
<tr valign=top> <td><b><tt>GSWIN32C.EXE</tt></b>
<td>
<td>32-bit Ghostscript using only the command line
<tr valign=top> <td><b><tt>GSDLL32.DLL</tt></b>
<td>
<td>32-bit Dynamic link library containing most of Ghostscript's functionality
</table></blockquote>
<p>
You should install all the files except the fonts in <b><tt>C:\GS</tt></b>,
and the fonts in <b><tt>C:\GS\FONTS</tt></b>.
<p>
The <a href="New-user.htm#GSview">GSview previewer</a> contains an
installation program to install and configure GSview and Ghostscript for
Win32. Information on GSview is available from:
<blockquote>
<a href="http://www.cs.wisc.edu/~ghost/gsview/">http://www.cs.wisc.edu/~ghost/gsview/</a>
</blockquote>
<p>
See "<a href="#Install_DOS">Installing Ghostscript on DOS</a>" above for
information about using Adobe Type Manager, Adobe Type Basics, or Adobe
Acrobat fonts. If your system uses TrueType fonts, you can get them
converted to a Ghostscript-compatible format at the time you select your
"printer" by doing the following:
<blockquote><ol>
<li>Open control panel and double-click on the "Printers" icon.
<li>Select your Postscript printer.
<li>Choose Setup.
<li>Choose Options.
<li>Choose Advanced.
<li>At the top of the dialog box you will see TrueType Fonts Send to
Printer As: Choose <em>(drop-down menu)</em> Adobe Type 1.
<li>Uncheck Use Printer Fonts for All TrueType Fonts and Use Substitution
Table.
<li>OK.
<li>OK etc.
</ol></blockquote>
<p>
That's it! Your TrueType fonts will automatically be downloaded in your
PostScript file for Ghostscript to use.
<p>
For printer devices, the default output is:
<blockquote><table cellpadding=0 cellspacing=0>
<tr valign=top> <td>The default printer
<td>
<td>Win95 or WinNT
<tr valign=top> <td>Prompt for a printer port
<td>
<td>Win32s (Windows 3)
</table></blockquote>
<p>
This can be modified as follows.
<blockquote>
<dl>
<dt><b><tt>-sOutputFile="LPT1:"</tt></b>
<dd>Output to the named port.
<dt><b><tt>-sOutputFile="\\spool\printer name"</tt></b> (Windows 95 or Windows NT)
<dd>Output to the named printer.
<dt><b><tt>-sOutputFile="\\spool"</tt></b> (Windows 95 or Windows NT)
<dd>Prompt for the name of a printer. Only local printers are supported.
</dl>
</blockquote>
<p>
If Ghostscript fails to find an environment variable, it looks for a
registry value of the same name under the key
<blockquote><b><tt>
HKEY_CURRENT_USER\Software\Aladdin Ghostscript\#.##
</tt></b></blockquote>
<p>
or if that fails, under the key
<blockquote><b><tt>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -