1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
|
---|
3 | "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
|
---|
4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
5 | %general-entities;
|
---|
6 |
|
---|
7 | <!ENTITY espgs-download-http "http://prdownloads.sourceforge.net/espgs/espgs-&espgs-version;-source.tar.bz2">
|
---|
8 | <!ENTITY espgs-download-ftp "ftp://ftp.gtlib.cc.gatech.edu/pub/slackware/slackware-current/source/ap/espgs/espgs-&espgs-version;-source.tar.bz2">
|
---|
9 | <!ENTITY espgs-md5sum "d30bf5c09f2c7caa8291f6305cf03044">
|
---|
10 | <!ENTITY espgs-size "5.3 MB">
|
---|
11 | <!ENTITY espgs-buildsize "128 MB (includes installing libgs.so and both font tarballs)">
|
---|
12 | <!ENTITY espgs-time "1.94 SBU (includes building and installing libgs.so)">
|
---|
13 |
|
---|
14 | <!ENTITY espgs-standard-fonts-download "ftp://mirror.cs.wisc.edu/pub/mirrors/ghost/fonts/ghostscript-fonts-std-8.11.tar.gz">
|
---|
15 | <!ENTITY espgs-standard-fonts-md5sum "6865682b095f8c4500c54b285ff05ef6">
|
---|
16 | <!ENTITY espgs-standard-fonts-size "3.7 MB">
|
---|
17 |
|
---|
18 | <!ENTITY espgs-other-fonts-download "http://ftp.gnu.org/pub/gnu/ghostscript/gnu-gs-fonts-other-6.0.tar.gz">
|
---|
19 | <!ENTITY espgs-other-fonts-md5sum "33457d3f37de7ef03d2eea05a9e6aa4f">
|
---|
20 | <!ENTITY espgs-other-fonts-size "796 KB">
|
---|
21 | ]>
|
---|
22 |
|
---|
23 | <sect1 id="espgs" xreflabel="ESP Ghostscript-&espgs-version;">
|
---|
24 | <?dbhtml filename="espgs.html"?>
|
---|
25 |
|
---|
26 | <sect1info>
|
---|
27 | <othername>$LastChangedBy$</othername>
|
---|
28 | <date>$Date$</date>
|
---|
29 | </sect1info>
|
---|
30 |
|
---|
31 | <title>ESP Ghostscript-&espgs-version;</title>
|
---|
32 |
|
---|
33 | <indexterm zone="espgs">
|
---|
34 | <primary sortas="a-ESP-Ghostscript">ESP Ghostscript</primary>
|
---|
35 | </indexterm>
|
---|
36 |
|
---|
37 | <sect2 role="package">
|
---|
38 | <title>Introduction to ESP Ghostscript</title>
|
---|
39 |
|
---|
40 | <para><application>ESP Ghostscript</application> is a versatile processor
|
---|
41 | for PostScript data with the ability to render PostScript to different
|
---|
42 | targets. <application>ESP Ghostscript</application> is a customized
|
---|
43 | version of GNU Ghostscript that includes an enhanced configuration script,
|
---|
44 | the <application>CUPS</application> raster driver to support
|
---|
45 | <application>CUPS</application> raster printer drivers, and additional
|
---|
46 | patches and drivers from various Linux distributors.</para>
|
---|
47 |
|
---|
48 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
49 | <itemizedlist spacing="compact">
|
---|
50 | <listitem>
|
---|
51 | <para>Download (HTTP): <ulink url="&espgs-download-http;"/></para>
|
---|
52 | </listitem>
|
---|
53 | <listitem>
|
---|
54 | <para>Download (FTP): <ulink url="&espgs-download-ftp;"/></para>
|
---|
55 | </listitem>
|
---|
56 | <listitem>
|
---|
57 | <para>Download MD5 sum: &espgs-md5sum;</para>
|
---|
58 | </listitem>
|
---|
59 | <listitem>
|
---|
60 | <para>Download size: &espgs-size;</para>
|
---|
61 | </listitem>
|
---|
62 | <listitem>
|
---|
63 | <para>Estimated disk space required: &espgs-buildsize;</para>
|
---|
64 | </listitem>
|
---|
65 | <listitem>
|
---|
66 | <para>Estimated build time: &espgs-time;</para>
|
---|
67 | </listitem>
|
---|
68 | </itemizedlist>
|
---|
69 |
|
---|
70 | <bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
---|
71 |
|
---|
72 | <itemizedlist spacing='compact'>
|
---|
73 | <title>Standard Fonts</title>
|
---|
74 | <listitem>
|
---|
75 | <para>Download (FTP): <ulink url="&espgs-standard-fonts-download;"/></para>
|
---|
76 | </listitem>
|
---|
77 | <listitem>
|
---|
78 | <para>Download MD5 sum: &espgs-standard-fonts-md5sum;</para>
|
---|
79 | </listitem>
|
---|
80 | <listitem>
|
---|
81 | <para>Download size: &espgs-standard-fonts-size;</para>
|
---|
82 | </listitem>
|
---|
83 | </itemizedlist>
|
---|
84 |
|
---|
85 | <itemizedlist spacing='compact'>
|
---|
86 | <title>Other Fonts</title>
|
---|
87 | <listitem>
|
---|
88 | <para>Download (HTTP): <ulink url="&espgs-other-fonts-download;"/></para>
|
---|
89 | </listitem>
|
---|
90 | <listitem>
|
---|
91 | <para>Download MD5 sum: &espgs-other-fonts-md5sum;</para>
|
---|
92 | </listitem>
|
---|
93 | <listitem>
|
---|
94 | <para>Download size: &espgs-other-fonts-size;</para>
|
---|
95 | </listitem>
|
---|
96 | </itemizedlist>
|
---|
97 |
|
---|
98 | <bridgehead renderas="sect3">ESP Ghostscript Dependencies</bridgehead>
|
---|
99 |
|
---|
100 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
101 | <para><xref linkend="cups"/>,
|
---|
102 | <xref linkend="libjpeg"/>,
|
---|
103 | <xref linkend="libpng"/>,
|
---|
104 | X (<xref linkend="xfree86"/> or <xref linkend="xorg"/>),
|
---|
105 | <xref linkend="GLib"/>,
|
---|
106 | <xref linkend="GTK"/> and
|
---|
107 | <xref linkend="gimp-print"/></para>
|
---|
108 |
|
---|
109 | </sect2>
|
---|
110 |
|
---|
111 | <sect2 role="installation">
|
---|
112 | <title>Installation of ESP Ghostscript</title>
|
---|
113 |
|
---|
114 | <para>Install <application>ESP Ghostscript</application>
|
---|
115 | by running the following commands:</para>
|
---|
116 |
|
---|
117 | <screen><userinput>./configure --prefix=/usr --without-gimp-print --without-omni &&
|
---|
118 | make</userinput></screen>
|
---|
119 |
|
---|
120 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
121 |
|
---|
122 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
123 |
|
---|
124 | <para>To install the shared library
|
---|
125 | <filename class='libraryfile'>libgs.so</filename> you
|
---|
126 | will need <xref linkend="GTK"/>.</para>
|
---|
127 |
|
---|
128 | <para>Proceed with the following commands:</para>
|
---|
129 |
|
---|
130 | <screen><userinput>make CFLAGS_SO='-fPIC $(ACDEFS)' so</userinput></screen>
|
---|
131 |
|
---|
132 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
133 |
|
---|
134 | <screen role="root"><userinput>make soinstall &&
|
---|
135 | install -v -d -m755 /usr/include/ps &&
|
---|
136 | install -v -m644 src/*.h /usr/include/ps</userinput></screen>
|
---|
137 |
|
---|
138 | <note>
|
---|
139 | <para>The shared library is only used in external programs like
|
---|
140 | <xref linkend="gsview"/>.</para>
|
---|
141 | </note>
|
---|
142 |
|
---|
143 | <para>To finish the installation, unpack all fonts you've downloaded to
|
---|
144 | <filename class="directory">/usr/share/ghostscript</filename> and ensure
|
---|
145 | the ownerships of the files are root:root. Substitute
|
---|
146 | <replaceable>[font-tarball]</replaceable> appropriately in
|
---|
147 | the command below for the fonts you wish to install:</para>
|
---|
148 |
|
---|
149 | <screen role="root"><userinput>tar -zxvf ../<replaceable>[font-tarball]</replaceable> -C /usr/share/ghostscript &&
|
---|
150 | chown -v -R root:root /usr/share/ghostscript/fonts</userinput></screen>
|
---|
151 |
|
---|
152 | </sect2>
|
---|
153 |
|
---|
154 | <sect2 role="commands">
|
---|
155 | <title>Command Explanations</title>
|
---|
156 |
|
---|
157 | <para><parameter>--without-gimp-print</parameter>: This switch disables
|
---|
158 | the building of the <application>GIMP</application> print driver as a
|
---|
159 | <application>Ghostscript</application> device since this is deprecated.
|
---|
160 | This driver may be still accessible via IJS or
|
---|
161 | <application>CUPS</application>, and this is the preferred way.</para>
|
---|
162 |
|
---|
163 | <para><parameter>--without-omni</parameter>: This switch disables the
|
---|
164 | omni driver support.</para>
|
---|
165 |
|
---|
166 | <para><option>--without-ijs</option>: This switch disables the
|
---|
167 | IJS driver support.</para>
|
---|
168 |
|
---|
169 | <para><command>install ...</command>: Some packages
|
---|
170 | (<application>ImageMagick</application> is one) need the
|
---|
171 | <application>Ghostscript</application> headers in place to link to the
|
---|
172 | shared library. These commands install the headers.</para>
|
---|
173 |
|
---|
174 | </sect2>
|
---|
175 |
|
---|
176 | <sect2 role="content">
|
---|
177 | <title>Contents</title>
|
---|
178 |
|
---|
179 | <segmentedlist>
|
---|
180 | <segtitle>Installed Programs</segtitle>
|
---|
181 | <segtitle>Installed Library</segtitle>
|
---|
182 | <segtitle>Installed Directories</segtitle>
|
---|
183 |
|
---|
184 | <seglistitem>
|
---|
185 | <seg>bdftops, dvipdf, eps2eps, fixmswrd.pl, font2c, gs, gsbj, gsc, gsdj,
|
---|
186 | gsdj500, gslj, gslp, gsnd, gsx, lprsetup.sh, pdf2dsc, pdf2ps, pdfopt,
|
---|
187 | pf2afm, pfbtopfa, pj-gs.sh, printafm, ps2ascii, ps2epsi, ps2pdf,
|
---|
188 | ps2pdf12, ps2pdf13, ps2pdf14, ps2pdfwr, ps2ps, pv.sh, sysvlp.sh,
|
---|
189 | unix-lpr.sh, and wftopfa</seg>
|
---|
190 | <seg>libgs.so </seg>
|
---|
191 | <seg>/usr/include/ps and /usr/share/ghostscript</seg>
|
---|
192 | </seglistitem>
|
---|
193 | </segmentedlist>
|
---|
194 |
|
---|
195 | <variablelist>
|
---|
196 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
197 | <?dbfo list-presentation="list"?>
|
---|
198 | <?dbhtml list-presentation="table"?>
|
---|
199 |
|
---|
200 | <varlistentry id="gs-prog-gs">
|
---|
201 | <term><command>gs</command></term>
|
---|
202 | <listitem>
|
---|
203 | <para>invokes <application>Ghostscript</application>, an interpreter
|
---|
204 | of Adobe Systems' PostScript(tm) and Portable Document Format
|
---|
205 | (PDF) languages.</para>
|
---|
206 | <indexterm zone="espgs gs-prog-gs">
|
---|
207 | <primary sortas="b-gs">gs</primary>
|
---|
208 | </indexterm>
|
---|
209 | </listitem>
|
---|
210 | </varlistentry>
|
---|
211 |
|
---|
212 | <varlistentry id="pstoraster">
|
---|
213 | <term><filename>pstoraster</filename></term>
|
---|
214 | <listitem>
|
---|
215 | <para>is a filter used by <application>CUPS</application> to convert
|
---|
216 | PostScript to a generic raster image format that is acceptable as an
|
---|
217 | input to drivers for non-PostScript printers (e.g., from
|
---|
218 | <xref linkend="gimp-print"/>). It is built and installed only if
|
---|
219 | <xref linkend="cups"/> is found.</para>
|
---|
220 | <indexterm zone="espgs pstoraster">
|
---|
221 | <primary sortas="g-pstoraster">pstoraster</primary>
|
---|
222 | </indexterm>
|
---|
223 | </listitem>
|
---|
224 | </varlistentry>
|
---|
225 |
|
---|
226 | </variablelist>
|
---|
227 |
|
---|
228 | <para><application>ESP Ghostscript</application> provides many different
|
---|
229 | scripts used to render PostScript/PDF files back and forth. Please refer
|
---|
230 | to the HTML documentation or try <command>man gs</command> for information
|
---|
231 | about the capabilities provided by the package.</para>
|
---|
232 |
|
---|
233 | </sect2>
|
---|
234 |
|
---|
235 | </sect1>
|
---|