next up previous contents index
Next: Upon Opening a Document Up: Document Information and Metadata Previous: Reading Document Information   Contents   Index


Setting Document Information

The document information dictionary in a PDF file specifies various pieces of information about a PDF. These can be consulted in a PDF viewer (for instance, Acrobat).

Here is a summary of the commands for setting entries in the document information dictionary:


\begin{framed}
\noindent\begin{tabular}{ll}
\textbf{Information} & \textbf{Exa...
... Mark as Untrapped & \texttt{cpdf -set-untrapped} \\
\end{tabular}\end{framed}

(The details of the format for creation and modification dates can be found in Appendix [*]. Using the date "now" uses the time and date at which the command is executed.)


For example, to set the title, the full command line would be
\begin{framed}
\small\verb!cpdf -set-title ''A Night in London'' in.pdf -o out.pdf!
\end{framed}


root 2008-12-01