more
This commit is contained in:
parent
8658ddf96c
commit
89337b4ca7
BIN
cpdfmanual.pdf
BIN
cpdfmanual.pdf
Binary file not shown.
|
@ -750,7 +750,7 @@ The encryption parameters described in Chapter \ref{encryption} may be added to
|
||||||
\noindent\verb! in.pdf [<range>] -o out.pdf!
|
\noindent\verb! in.pdf [<range>] -o out.pdf!
|
||||||
|
|
||||||
\vspace{1.5mm}
|
\vspace{1.5mm}
|
||||||
\small\noindent\verb!cpdf -hard-box [-fast] in.pdf [<range>] -o out.pdf!
|
\small\noindent\verb!cpdf -hard-box [-fast] in.pdf [<range>] [-mediabox-if-missing] -o out.pdf!
|
||||||
|
|
||||||
\vspace{1.5mm}
|
\vspace{1.5mm}
|
||||||
\small\noindent\verb!cpdf -show-boxes [-fast] in.pdf [<range>] -o out.pdf!
|
\small\noindent\verb!cpdf -show-boxes [-fast] in.pdf [<range>] -o out.pdf!
|
||||||
|
@ -973,7 +973,7 @@ A hard box (one which clips its contents by inserting a clipping rectangle) may
|
||||||
\small\verb!cpdf -hard-box /TrimBox in.pdf -o out.pdf!
|
\small\verb!cpdf -hard-box /TrimBox in.pdf -o out.pdf!
|
||||||
\end{framed}
|
\end{framed}
|
||||||
|
|
||||||
\noindent This means the resultant file may be used as a stamp without contents outside the given box reappearing.
|
\noindent This means the resultant file may be used as a stamp without contents outside the given box reappearing. The \texttt{-mediabox-if-missing} option may also be used here.
|
||||||
|
|
||||||
\section{Showing Boxes and Printer's Marks}
|
\section{Showing Boxes and Printer's Marks}
|
||||||
\index{printer's marks}\index{trim marks}
|
\index{printer's marks}\index{trim marks}
|
||||||
|
@ -990,7 +990,7 @@ Bleed box & Pink
|
||||||
\end{tabular}
|
\end{tabular}
|
||||||
\medskip
|
\medskip
|
||||||
|
|
||||||
The \texttt{-trim-marks} operation adds trim marks to a PDF file. The bleed and trim boxes must both be present.
|
The \texttt{-trim-marks} operation adds trim marks to a PDF file. The trim box must be present.
|
||||||
|
|
||||||
\chapter{Encryption and Decryption}
|
\chapter{Encryption and Decryption}
|
||||||
\pagestyle{fancy}
|
\pagestyle{fancy}
|
||||||
|
@ -1159,10 +1159,10 @@ for instance to copy bookmarks.
|
||||||
\index{bookmarks!listing}
|
\index{bookmarks!listing}
|
||||||
The \texttt{-list-bookmarks} operation prints (to standard output) the
|
The \texttt{-list-bookmarks} operation prints (to standard output) the
|
||||||
bookmarks in a file. The first column gives the level of the tree at which a
|
bookmarks in a file. The first column gives the level of the tree at which a
|
||||||
particular bookmark is. Then the text of the bookmark in quotes, then the page
|
particular bookmark is. Then the text of the bookmark in quotes. Then the page
|
||||||
number which the bookmark points to, then the destination (see below) then (optionally) the word "open" if the
|
number which the bookmark points to. Then (optionally) the word "open" if the
|
||||||
bookmark should have its children (at the level immediately below) visible when
|
bookmark should have its children (at the level immediately below) visible when
|
||||||
the file is loaded. For example, upon executing
|
the file is loaded. Then the destination (see below). For example, upon executing
|
||||||
\begin{framed}
|
\begin{framed}
|
||||||
\small\verb!cpdf -list-bookmarks doc.pdf!
|
\small\verb!cpdf -list-bookmarks doc.pdf!
|
||||||
\end{framed}
|
\end{framed}
|
||||||
|
@ -1170,7 +1170,7 @@ the file is loaded. For example, upon executing
|
||||||
\noindent the result might be:
|
\noindent the result might be:
|
||||||
\begin{framed}{\small\begin{verbatim}
|
\begin{framed}{\small\begin{verbatim}
|
||||||
0 "Part 1" 1 open
|
0 "Part 1" 1 open
|
||||||
1 "Part 1A" 2 [2 /XYZ 200 400 null]
|
1 "Part 1A" 2 "[2 /XYZ 200 400 null]"
|
||||||
1 "Part 1B" 3
|
1 "Part 1B" 3
|
||||||
0 "Part 2" 4
|
0 "Part 2" 4
|
||||||
1 "Part 2a" 5\end{verbatim}}\end{framed}
|
1 "Part 2a" 5\end{verbatim}}\end{framed}
|
||||||
|
@ -2418,7 +2418,7 @@ giving the part of the version number after the decimal point. For example:
|
||||||
\noindent Change file to PDF 1.4.
|
\noindent Change file to PDF 1.4.
|
||||||
\end{framed}
|
\end{framed}
|
||||||
\noindent This does not alter any of the actual data in the file ---
|
\noindent This does not alter any of the actual data in the file ---
|
||||||
just the supposed version number.
|
just the supposed version number. For PDF versions starting with 2 add ten to the number. For example, for PDF version 2.0, use \texttt{-set-version 10}.
|
||||||
|
|
||||||
\section{Copy ID}
|
\section{Copy ID}
|
||||||
\index{file ID!copy}
|
\index{file ID!copy}
|
||||||
|
|
Loading…
Reference in New Issue