~ubuntu-branches/ubuntu/oneiric/ghostscript/oneiric

« back to all changes in this revision

Viewing changes to doc/Ps2pdf.htm

  • Committer: Bazaar Package Importer
  • Author(s): Till Kamppeter
  • Date: 2011-07-15 16:49:55 UTC
  • mfrom: (1.1.23 upstream)
  • Revision ID: james.westby@ubuntu.com-20110715164955-uga6qibao6kez05c
Tags: 9.04~dfsg~20110715-0ubuntu1
* New upstream release
   - GIT snapshot from Jult, 12 2011.
* debian/patches/020110406~a54df2d.patch,
  debian/patches/020110408~0791cc8.patch,
  debian/patches/020110408~507cbee.patch,
  debian/patches/020110411~4509a49.patch,
  debian/patches/020110412~78bb9a6.patch,
  debian/patches/020110418~a05ab8a.patch,
  debian/patches/020110420~20b6c78.patch,
  debian/patches/020110420~4ddefa2.patch: Removed upstream patches.
* debian/rules: Generate ABI version number (variable "abi") correctly,
  cutting off repackaging and pre-release parts.
* debian/rules: Added ./lcms2/ directory to DEB_UPSTREAM_REPACKAGE_EXCLUDES.
* debian/copyright: Added lcms2/* to the list of excluded files.
* debian/symbols.common: Updated for new upstream source. Applied patch
  which dpkg-gensymbols generated for debian/libgs9.symbols to this file.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2
2
<html>
3
3
<head>
 
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
<!-- $Id$ -->
6
7
<!-- Originally: ps2pdf.txt -->
7
8
<link rel="stylesheet" type="text/css" href="gs.css" title="Ghostscript Style">
8
9
</head>
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>.
110
111
 
111
112
</ul>
112
113
 
120
121
 
121
122
<p>
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.
188
189
 
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.
382
383
</dl>
383
384
 
384
385
<dl>
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.
449
450
</dl>
450
451
 
451
452
<dl>
670
671
 
671
672
<p>
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>,
676
677
 
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.
943
944
<p>
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
954
955
not affected.
993
994
<p>
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>.
997
998
 
998
999
<p>
999
1000
Changing the value of the <code>CompressPages</code> parameter after any
1042
1043
<p>
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
1048
1049
documents.
1081
1082
San Rafael, CA  94903, U.S.A., +1(415)492-9861, for further information.
1082
1083
 
1083
1084
<p>
1084
 
<small>Ghostscript version 9.02, 30 March 2011
 
1085
<small>Ghostscript version 9.02, 30 March 2011</small>
1085
1086
 
1086
1087
<!-- [3.0 end visible trailer] ============================================= -->
1087
1088