diff options
author | Ken Sharp <ken.sharp@artifex.com> | 2009-04-04 10:10:56 +0000 |
---|---|---|
committer | Ken Sharp <ken.sharp@artifex.com> | 2009-04-04 10:10:56 +0000 |
commit | e17def3d43b513e8aa0fa97aa4cc837bec84b4b9 (patch) | |
tree | d55d12468116bed8f7a229f5ca74b82b5208d5d6 /gs/doc/Ps2pdf.htm | |
parent | 9da4524858b0bff1574c65235354edf5cc92dc17 (diff) |
Enhancement (pdfwrite) : Allow pdfwrite to produce multiple copies of pages. New flag
'DoNumCopies' added.
Details
Bug #690355 : "pdfwrite ignores the "#copies" setting in PostScript input"
The pdfwrite device follows the behaviour of Acrobat Distiller and ignores the /#copies
and /NumCopies settings in PostScript. This is at least partly because these can't be
expected to work properly with Destination annotations specifying a page as the
destination (eg Link or Outline annotations).
However CUPS (and potentially other PDF workflow applications) may have no way of
determining that application-produced PostScript requires multiple copies to be
printed, after the file has been converted to PDF.
For the benefit of such applications a new flag 'DoNumCopies' has been added, if
present then pdfwrite will duplicate each page in the output as many times as the
/#copies or /NumCopies current setting.
There is currently no provision for reordering the pages, the duplicates follow the
original immediately in page order.
Expected Differences
None
git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@9615 a1074d23-0009-0410-80fe-cf8c14f379e6
Diffstat (limited to 'gs/doc/Ps2pdf.htm')
-rw-r--r-- | gs/doc/Ps2pdf.htm | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/gs/doc/Ps2pdf.htm b/gs/doc/Ps2pdf.htm index f175d48c3..382b11681 100644 --- a/gs/doc/Ps2pdf.htm +++ b/gs/doc/Ps2pdf.htm @@ -245,6 +245,14 @@ wide variety of uses, possibly at the expense of a larger output file. </ul> +<dt><code>-dNumCopies</code> +<dd>When present, causes pdfwrite to use the #copies or /NumCopies entry in the page +device dictionary to duplicate each page in the output PDF file as many times as +the 'copies' value. This is intended for use by workflow applications like CUPS +and should not be used for generating general purpose PDF files. In particular any +pdfmark operations which rely on page numbers, such as Link or Outline annotations +will not work correctly with this flag. + </dl> <p> |