1
1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
4
<meta http-equiv="content-type" content="text/html; charset=us-ascii">
4
5
<title>ps2pdf: PostScript-to-PDF converter</title>
5
<!-- $Id: Ps2pdf.htm 12320 2011-03-30 08:51:40Z chrisl $ -->
6
7
<!-- Originally: ps2pdf.txt -->
7
8
<link rel="stylesheet" type="text/css" href="gs.css" title="Ghostscript Style">
106
107
with a specific output level,use the
107
108
<code>-dCompatibilityLevel=</code><em>1.x</em> switch in the command
108
109
line, or one of the specific version aliases <code>ps2pdf12</code>,
109
<code>ps2pdf13</code>, or <b><tt>ps2pdf14</tt></b>.
110
<code>ps2pdf13</code>, or <code>ps2pdf14</code>.
122
123
All of these scripts actually call a script named <code>ps2pdfwr</code>
123
or <code>ps2pdfxx</code>. The Unix <b><tt>ps2pdfwr</tt></b> script
124
or <code>ps2pdfxx</code>. The Unix <code>ps2pdfwr</code> script
124
125
assumes that the Ghostscript executable is named <code>gs</code>; it is
125
126
unlikely that you will need to change this. The DOS and MS Windows
126
127
<code>ps2pdfxx.bat</code> script uses the value of the
182
183
<dt><code>-dProcessColorModel=</code><em>device_color_space</em> <dd>Sets
183
184
the color space to be used for device-dependent colors in the
184
185
output. <em>device_color_space</em> may be <code>/DeviceGray</code>,
185
<code>/DeviceRGB</code>, or <b><tt>/DeviceCMYK</tt></b>; the default
186
<code>/DeviceRGB</code>, or <code>/DeviceCMYK</code>; the default
186
187
value is <code>/DeviceRGB</code>. Note that this does not affect images:
187
188
see <a href="#Limitations">Limitations</a> below.
378
379
<dt><code>-sUserPassword=</code><em>string</em>
379
380
<dd>Defines the user password for opening the document.
380
381
If empty, the document can be opened with no password,
381
but the owner password is required to e�dit it.
382
but the owner password is required to edit it.
445
446
several PDF documents within same clock quantum (tick).
446
447
Mainly reserved for very fast computers and/or multhithreading applications,
447
448
which may appear in future. If both <code>DocumentUUID</code>
448
and <code>InstanceUUID</code> are specified, <b><tt>DocumentTimeSeq</tt></b> is ignored.
449
and <code>InstanceUUID</code> are specified, <code>DocumentTimeSeq</code> is ignored.
672
673
<a name="note_13">(note 13)</A>
673
The arrays <code>AlwaysEmbed</code> and <b><tt>NeverEmbed</tt></b> and
674
The arrays <code>AlwaysEmbed</code> and <code>NeverEmbed</code> and
674
675
image parameter dictionaries <code>ColorACSImageDict</code>,
675
<code>ColorACSImageDict</code>, <b><tt>ColorImageDict</tt></b>,
676
<code>ColorACSImageDict</code>, <code>ColorImageDict</code>,
677
<code>GrayACSImageDict</code>, <b><tt>GrayImageDict</tt></b>,
678
<code>GrayACSImageDict</code>, <code>GrayImageDict</code>,
678
679
<code>MonoImageDict</code> cannot be specified on the ps2pdf command line.
679
680
To specify these, you must use PostScript, either by including it in the PostScript source
680
681
or by passing the <code>-c</code> command-line parameter to ghostscript as described in <a href="#Limitations">Limitations</A> below.
944
945
<code>ps2pdf</code> ignores the PDF 1.3 (Acrobat 4.x) pdfmarks related to
945
946
document content structure: <code>StRoleMap</code>,
946
<code>StClassMap</code>, <b><tt>StPNE</tt></b>,
947
<code>StBookmarkRoot</code>, <b><tt>StPush</tt></b>,
948
<code>StPop</code>, <b><tt>StPopAll</tt></b>, <b><tt>StBMC</tt></b>,
949
<code>StBDC</code>, <b><tt>EMC</tt></b>, <b><tt>StOBJ</tt></b>,
950
<code>StAttr</code>, <b><tt>StStore</tt></b>, <b><tt>StRetrieve</tt></b>,
951
<code>NamespacePush</code>, <b><tt>NamespacePop</tt></b>, and
947
<code>StClassMap</code>, <code>StPNE</code>,
948
<code>StBookmarkRoot</code>, <code>StPush</code>,
949
<code>StPop</code>, <code>StPopAll</code>, <code>StBMC</code>,
950
<code>StBDC</code>, <code>EMC</code>, <code>StOBJ</code>,
951
<code>StAttr</code>, <code>StStore</code>, <code>StRetrieve</code>,
952
<code>NamespacePush</code>, <code>NamespacePop</code>, and
952
953
<code>NI</code>. While this causes some structural information to be
953
954
omitted from the output file, the displayed and printed output are normally
994
995
Distiller parameters should only be saved by <code>save</code> and
995
996
restored by <code>restore</code>, but they are also saved by
996
<code>gsave</code> and restored by <b><tt>grestore</tt></b>.
997
<code>gsave</code> and restored by <code>grestore</code>.
999
1000
Changing the value of the <code>CompressPages</code> parameter after any
1043
1044
Many users report that the combination of <code>ps2pdf</code> with
1044
1045
Acrobat Reader is superior to using a generic PostScript viewer
1045
(<code>psview</code> or <b><tt>ghostview</tt></b>), particularly for
1046
(<code>psview</code> or <code>ghostview</code>), particularly for
1046
1047
documents with many pages where the navigational support in PDF files
1047
1048
reduces the overhead involved in navigating conventional PostScript
1081
1082
San Rafael, CA 94903, U.S.A., +1(415)492-9861, for further information.
1084
<small>Ghostscript version 9.02, 30 March 2011
1085
<small>Ghostscript version 9.02, 30 March 2011</small>
1086
1087
<!-- [3.0 end visible trailer] ============================================= -->