⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 new-user.htm

📁 GhostScript的源代码
💻 HTM
📖 第 1 页 / 共 3 页
字号:
+1-415-492-9861 Voice<br>
+1-415-492-9862 Fax<br>
<a href="mailto:info@arsoft.com">info@arsoft.com</a><br>
<a href="http://www.arsoft.com/">http://www.arsoft.com/</a>
</address></blockquote>

<p>
Artifex does not offer commercial support as a separate service; support is
available only to OEM licensees (that is, licensees who redistribute
Ghostscript in a product).

<hr>

<h2><a name="Platforms"></a>What platforms does Ghostscript run on?</h2>

<p>
Ghostscript is written entirely in C (with some optional assembly-language
accelerators for DOS platforms), with special care taken to make it run
properly on systems of either byte order ("low-endian" and "high-endian")
and of various word lengths.  GNU Ghostscript is known to run on the
following platform families:

<ul>
<li>A wide variety of Unix systems using X Windows version 11, releases 4, 5,
and 6, including

<ul compact>
<li>Sun-3, Sun-4, Sun-386i, Sun SPARCStation with SunOS 4 and Solaris 2.[56]
<li>Generic Intel-based systems running Linux, 386/ix, 386BSD, FreeBSD, ISC Unix, SCO Unix, and Solaris
<li>H-P 9000/300 and 9000/800
<li>DECStation 2100, 3100, and 5xxx
<li>Alpha systems running Digital Unix
<li>VAX running Ultrix
<li>Sequent Symmetry
<li>Convex C1 and C2
<li>Tektronix 4300
<li>SGI Iris Indigo
<li>4.4BSD Unix systems (FreeBSD on Intel)
<li>NetBSD on Intel, Sun SPARC, Motorola M68K (Apple, Amiga, Sun, H-P), and VAX
</ul>

<li>Sun workstations running SunView

<li>VAX and Alpha systems running OpenVMS with X11 compiled with
either DEC C or gcc
</ul>

<p>
Aladdin Ghostscript is known to run on all of the above, and additionally
on the following platform families:

<ul>
<li>IBM PC and compatibles with EGA, VGA, SuperVGA, or compatible graphics under MS-DOS 3.1, 3.3, 5.0, or 6.22, and Microsoft Windows 3.1, NT, 95, or 98;

<li>IBM PC and compatibles under DR DOS 6.0;

<li>IBM PC and compatibles under OS/2 2.0, 2.1 and Warp 3.0.

<li>Apple Macintosh with System 7 or later, both Motorola 680x0 and PowerPC
native. For specific information on the Macintosh implementation, see

<blockquote>
<a href="http://www.cs.wisc.edu/~ghost/mac/">http://www.cs.wisc.edu/~ghost/mac/</a>
</blockquote>
</ul>

<p>
It is very likely that Ghostscript will run under other versions of DOS,
and other versions of Unix that support X11, but it has not been tested in
these environments.  (Ghostscript does not run well on PC-compatibles with
Hercules display cards, since text and graphics output interfere with each
other, but you can work around this by redirecting the text output to a file.)

<p>
Ghostscript has also been ported to a number of platforms by users, who are
willing to be contacted about problems on those specific platforms:

<dl>
<dt><b>NeXT</b>
<dd>For information and possibly precompiled binaries for NeXT machines,
contact Alan Barclay in the U.K. at +44-1224-591779 (voice and fax).
</dl>

<dl>
<dt><b>Amiga</b>
<dd>For information on a port to the Amiga, contact Andreas Maschke
&lt;<a href="mailto:epgbc@cluster6.urz.uni-halle.de">epgbc@cluster6.urz.uni-halle.de</a>&gt;.
This port includes drivers by Andreas Heitmann for

<blockquote><table cellpadding=0 cellspacing=0>
<tr><td>IFF<td>&nbsp;&nbsp;<td>file format
<tr><td>RETINA<td>&nbsp;<td>graphics board
<tr><td>INTUI<td>&nbsp;<td>Amiga window system
</table></blockquote>
</dl>

<dl>
<dt><b>SMS/QDOS</b>
<dd>For information on a port to the SMS/QDOS operating system, contact
<blockquote><address>
Jonathan R. Hudson<br>
+44-1703-867843 telephone and fax<br>
<a href="mailto:jrh@jrhudson.demon.co.uk">jrh@jrhudson.demon.co.uk</a><br>
<a href="http://www.jrhudson.demon.co.uk/">http://www.jrhudson.demon.co.uk/</a>
</address></blockquote>

<p>
The Web site has precompiled binaries, and the port includes includes drivers for:

<blockquote><table cellpadding=0 cellspacing=0>
<tr>	<td>pic:
	<td>&nbsp;&nbsp;
	<td>native graphics format
	<td>&nbsp;&nbsp;
	<td>(PIC, 1-, -2, 4-, 8-colour formats)
<tr>	<td>qfax:
	<td>&nbsp;
	<td>fax files
	<td>&nbsp;
	<td>(1D, 2D normal and fine)
</table></blockquote>
</dl>

<dl>
<dt><b>Plan 9</b>
<dd>For source boddles and precompiled binaries for the operating system
Plan 9 from Bell Labs, contact Nigel Roles
&lt;<a href="mailto:ngr@cotswold.demon.co.uk">ngr@cotswold.demon.co.uk</a>&gt;.
or check

<blockquote>
<a href="http://www.cotswold.demon.co.uk/dist/gs/">http://www.cotswold.demon.co.uk/dist/gs/</a>
</blockquote>
</dl>

<hr>

<h1><a name="Related_work"></a>Related work</h1>

<h2><a name="PDF_encryption"></a>PDF encryption</h2>

<p>
Geoff Keating has created code to allow processing encrypted PDF files.
Unfortunately, current U.S. export control laws don't allow redistribution
of this code from a site in the U.S., even though it's freely available to
anyone anywhere in the world from Geoff's site in Australia:

<blockquote>
<a href="http://www.ozemail.com.au/~geoffk/pdfencrypt/">http://www.ozemail.com.au/~geoffk/pdfencrypt/</a>
</blockquote>

<p>
The change is a single file of PostScript code, <b><tt>pdf_sec.ps</tt></b>,
which replaces a file in the standard Ghostscript fileset, so it can be
added to a running version of Ghostscript without rebuilding anything.  A
full explanation and instructions are on Geoff's page.

<hr>

<h2><a name="Previewers"></a>Previewers</h2>

<p>
The Ghostscript user interface is very primitive, so several people have
contributed screen previewers with better user interfaces.

<h3><a name="Previewer_X"></a>Previewers for X Windows</h3>

<p>
We know of three freely available X Windows screen previewers based on
Ghostscript: <b><tt>Ghostview</tt></b>, <b><tt>gv</tt></b>, and
<b><tt>GSPreview</tt></b>.  Most users who have expressed an opinion prefer
<b><tt>gv</tt></b> over <b><tt>Ghostview</tt></b>.

<dl>
<dt><b><tt>gv</tt></b>
<dd>gv, which is derived from Ghostview, is available from CTAN sites and
through the site of its author, Johannes Plass
&lt;<a href="mailto:plass@thep.physik.uni-mainz.de">plass@thep.physik.uni-mainz.de</a>&gt;:

<blockquote>
<a href="http://wwwthep.physik.uni-mainz.de/~plass/gv/">http://wwwthep.physik.uni-mainz.de/~plass/gv/</a>
</blockquote>

A copy of gv (but perhaps not the most recent version)
can also be found at:

<blockquote>
<a href="http://www.cs.wisc.edu/~ghost/gv/">http://www.cs.wisc.edu/~ghost/gv/</a><br>
<a href="ftp://ftp.cs.wisc.edu/ghost/gv/">ftp://ftp.cs.wisc.edu/ghost/gv/</a>
</blockquote>

<p>
gv is available for OpenVMS (both VAX and Alpha), called GhostView-VMS or
gv-vms.  Some places you can find it are:

<blockquote>
<a href="ftp://ada.cenaath.cena.dgac.fr/decwindows/xaw3d/">ftp://ada.cenaath.cena.dgac.fr/decwindows/xaw3d/</a><br>
<a href="ftp://axp.psl.ku.dk/decwindows/xaw3d/">ftp://axp.psl.ku.dk/decwindows/xaw3d/</a><br>
<a href="ftp://ftp.wku.edu/vms/fileserv/x11kit.zip">ftp://ftp.wku.edu/vms/fileserv/x11kit.zip</a>
</blockquote>
</dl>

<dl>
<dt><b><tt>Ghostview</tt></b>
<dd>For information on Ghostview, contact Tim Theisen
&lt;<a href="mailto:ghostview@cs.wisc.edu">ghostview@cs.wisc.edu</a>&gt;.
You can get Ghostview from

<blockquote>
<a href="http://www.cs.wisc.edu/~ghost/ghostview/">http://www.cs.wisc.edu/~ghost/ghostview/</a>
</blockquote>
</dl>

<dl>
<dt><b><tt>GSPreview</tt></b>
<dd>For information on GSPreview, contact Richard Hesketh
&lt;<a href="mailto:rlh@ukc.ac.uk">rlh@ukc.ac.uk</a>&gt;.
</dl>

<h3><a name="Previewer_DOS-Win"></a>Previewers for DOS and MS Windows</h3>

<dl>
<dt><a name="GSview"></a><b><tt>GSview</tt></b>
<dd>GSview, a popular freely available MS Windows and OS/2 screen previewer
based on Ghostscript, is available from

<blockquote>
<a href="http://www.cs.wisc.edu/~ghost/gsview/">http://www.cs.wisc.edu/~ghost/gsview/</a>
</blockquote>

<p>
For technical information on GSview for Windows or PM GSview, please
contact Russell Lang
&lt;<a href="mailto:rjl@aladdin.com">rjl@aladdin.com</a>&gt;.  (Aladdin
provides Lang with a mail alias, but Lang is not an employee or agent of
Aladdin.)  These programs are also available for <a
href="#Commercial_use">commercial licensing</a> from Artifex Software Inc.
</dl>

<dl>
<dt><b><tt>ps_view</tt></b>
<dd>GUST, the Polish TeX Users Group, has created <b><tt>ps_view</tt></b>,
a public-domain DOS package that provides "an interactive environement for
previewing PostScript documents. The current version can drive the current
version of the Ghostscript interpreter; enables scaling, rotating, restart,
on-line help, printing the screen, etc."  <b><tt>ps_view</tt></b> is
available from its home site and from CTAN:

<blockquote>
<a href="ftp://ftp.pg.gda.pl/pub/TeX/support/ps_view/">ftp://ftp.pg.gda.pl/pub/TeX/support/ps_view/</a><br>
<a href="ftp://ftp.dante.de/tex-archive/support/ps_view/">ftp://ftp.dante.de/tex-archive/support/ps_view/</a>
</blockquote>

<p>
<b><tt>ps_view's</tt></b> authors are Boguslaw Jackowski and Piotr
Pianowsky
&lt;<a href="mailto:P.Pianowski@gust.org.pl">P.Pianowski@gust.org.pl</a>&gt;.
</dl>

<dl>
<dt><b><tt>psv</tt></b>
<dd><b><tt>PSV</tt></b>, another keyboard-based PostScript viewing package
for DOS, appears to be redistributable with no restrictions, and is
available from

<blockquote>
<a href="ftp://puccini.ujf-grenoble.fr/pub/contrib-ps/DOS-PSV/">ftp://puccini.ujf-grenoble.fr/pub/contrib-ps/DOS-PSV/</a>
</blockquote>
</dl>

<h3><a name="Previewer_Linux"></a>A previewer for Linux</h3>

<dl>
<dt><b><tt>BMV</tt></b> <dd>Jan Kybic has created a Ghostscript-based
bitmap previewing program for Linux called <b><tt>BMV</tt></b>, which
doesn't use X Windows but is based on <b><tt>svgalib</tt></b>.  He says
there is a port of <b><tt>BMV</tt></b> for SCO Unix by William Bader.
<b><tt>BMV</tt></b> is available from

<blockquote>
<a href="ftp://sunsite.unc.edu/pub/Linux/apps/graphics/viewers/svga/bmv-1.2.tgz">ftp://sunsite.unc.edu/pub/Linux/apps/graphics/viewers/svga/bmv-1.2.tgz</a>
</blockquote>
</dl>

<hr>

<h2><a name="Fonts"></a>Fonts</h2>

<p>
The <a href="Fonts.htm">fonts available for Ghostscript</a>, and how to use
and add fonts in general, are extensively documented.  See
<a href="Fonts.htm">that documentation</a> for (almost) all information
about fonts.  Nelson Beebe maintains a useful set of information about
PostScript Type 1 fonts, including sources for freely distributable and
commercially licensed fonts and an extensive list of Unix systems and the
fonts available for them:

<blockquote>
<a href="http://www.math.utah.edu/~beebe/fonts/postscript-type-1-fonts.html">http://www.math.utah.edu/~beebe/fonts/postscript-type-1-fonts.html</a>
</blockquote>

<hr>

<h2><a name="Ancillary_programs"></a>Ancillary programs</h2>

<dl>
<dt><b><tt>genscript</tt></b> <dd><b><tt>genscript</tt></b> is a free
replacement for the <b><tt>enscript</tt></b> program.
<b><tt>genscript</tt></b> converts plain text files to PostScript and sends
the generated PostScript output to the specified printer or to a file.
<b><tt>genscript</tt></b> can be easily extended to handle different output
media, and it has many options which can be used to customize printouts,
including 2-up printing, pagination, complex headers, and many more.  You
can find the current version at

<blockquote>
<a href="http://www.iki.fi/~mtr/genscript/">http://www.iki.fi/~mtr/genscript/</a> (home page)<br>
<a href="ftp://ftp.gnu.org/pub/gnu/">ftp://ftp.gnu.org/pub/gnu/</a>enscript-*.tar.gz
</blockquote>

<dt><b><tt>pstotext</tt></b> <dd>A good free utility

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -