diff --git a/cpdfmanual.pdf b/cpdfmanual.pdf index ecf74cc..392e2a2 100644 Binary files a/cpdfmanual.pdf and b/cpdfmanual.pdf differ diff --git a/cpdfmanual.tex b/cpdfmanual.tex index 0339ecb..df6341f 100644 --- a/cpdfmanual.tex +++ b/cpdfmanual.tex @@ -410,17 +410,18 @@ verbosity. Under Microsoft Windows, type \texttt{cpdf.exe} instead of \texttt{cp \begin{framed} \small \noindent\begin{verbatim} - -help --help -version - -o -i -idir - -recrypt -stdout -stdin - -stdin-user -stdin-owner -producer - -creator -change-id -l - -cpdflin -keep-l -no-preserve-objstm - -create-objstm -control -args - -utf8 -stripped -raw - -no-embed-font -create-pdf -create-pdf-pages - -create-pdf-papersize -gs -gs-malformed - -gs-malformed-force -gs-quiet -error-on-malformed\end{verbatim}\end{framed} + -help --help -version + -o -i -idir + -recrypt -decrypt-force -stdout + -stdin -stdin-user -stdin-owner + -producer -creator -change-id + -l -cpdflin -keep-l + -no-preserve-objstm -create-objstm -control + -args -utf8 -stripped + -raw -no-embed-font -create-pdf + -create-pdf-pages -create-pdf-papersize -gs + -gs-malformed -gs-malformed-force -gs-quiet + -error-on-malformed\end{verbatim}\end{framed} The Coherent PDF tools provide a wide range of facilities for modifying PDF files created by other means. There is a single command-line program @@ -558,6 +559,8 @@ example: being performed. Separate facilities are provided to decrypt and encrypt files (See Section \ref{crypt}). +When appropriate passwords are not available, the option \texttt{-decrypt-force} may be added to the command line to process the file regardless. + \section{Standard Input and Standard Output} \index{standard input} \index{standard output} Thus far, we have assumed that the input PDF will be read from a file on @@ -1382,7 +1385,7 @@ Bleed box & Pink \noindent\verb! [-no-encrypt-metadata] in.pdf -o out.pdf! \vspace{1.5mm} - \noindent\verb!cpdf -decrypt in.pdf owner= -o out.pdf! + \noindent\verb!cpdf -decrypt [-decrypt-force] in.pdf owner= -o out.pdf! \end{framed} \label{crypt} \section{Introduction} @@ -1463,6 +1466,9 @@ metadata. Add \texttt{-no-encrypt-metadata} to the command line. \end{framed} \noindent The user password cannot decrypt a file. +When appropriate passwords are not available, the option \texttt{-decrypt-force} may be added to the command line to process the file regardless. + + \begin{cpdflib} \clearpage \section*{C Interface}