Updates for v2.7

This commit is contained in:
John Whitington 2024-02-15 12:24:03 +00:00
parent 88ffc089e7
commit 5be6593abe
2 changed files with 50 additions and 49 deletions

Binary file not shown.

View File

@ -3137,21 +3137,21 @@ dictionary, and from any XMP metadata to standard output.
\begin{framed} \begin{framed}
{\small\begin{verbatim} {\small\begin{verbatim}
$cpdf -info pdf_reference.pdf $cpdf -info pdf_reference.pdf
Encryption: 40bit Encryption: Not encrypted
Permissions: No edit Permissions:
Linearized: true Linearized: true
Object streams: true Object streams: true
ID: <0537e963d2234e7e996c49fb9ac87adb> <0537e963d2234e7e996c49fb9ac87adb> ID: <0b1f990718e2a92c0c112fbf08b233fb> <b2f1dbee369e11d9b951000393c97fd8>
Version: 1.6 Version: 1.5
Pages: 1310 Pages: 1236
Title: PDF Reference, version 1.7 Title: PDF Reference, version 1.6
Author: Adobe Systems Incorporated Author: Adobe Systems Incorporated
Subject: Adobe Portable Document Format (PDF) Subject: Adobe Portable Document Format (PDF)
Keywords: Keywords:
Creator: FrameMaker 7.2 Creator: FrameMaker 7.0
Producer: Acrobat Distiller 7.0.5 (Windows) Producer: Acrobat Distiller 6.0.1 for Macintosh
Created: D:20061017081020Z Created: D:20041114084116Z
Modified: D:20061118211043-02'30' Modified: D:20041114163850-08'00'
Trapped: False Trapped: False
PageMode: UseOutlines PageMode: UseOutlines
PageLayout: PageLayout:
@ -3160,21 +3160,19 @@ HideMenubar:
HideWindowUI: HideWindowUI:
FitWindow: FitWindow:
CenterWindow: CenterWindow:
DisplayDocTitle: DisplayDocTitle: true
NonFullScreenPageMode: NonFullScreenPageMode:
AcroForm: False AcroForm: False
MediaBox: 0.000000 0.000000 540.000000 666.000000 MediaBox: 0.000000 0.000000 612.000000 792.000000
CropBox: CropBox: 41.000000 63.000000 572.000000 729.000000
BleedBox: BleedBox:
TrimBox: TrimBox: various
ArtBox: ArtBox: various
Subformats: PDF/A-1 Subformats:
XMP pdf:Producer: Adobe PDF library 7.77 XMP dc:title: PDF Reference, version 1.6
XMP xmp:CreateDate: 2006-12-21T18:19:09+01:00 XMP dc:creator: Adobe Systems Incorporated
XMP xmp:CreatorTool: Adobe Illustrator CS2 XMP dc:description: Adobe Portable Document Format (PDF)
XMP xmp:MetadataDate: 2006-12-21T18:19:09Z \end{verbatim}}\end{framed}
XMP xmp:ModifyDate: 2006-12-21T18:19:09Z
XMP dc:title: AI6\end{verbatim}}\end{framed}
\noindent The details of the format for creation and modification dates can be found in \noindent The details of the format for creation and modification dates can be found in
Appendix~\ref{dates}. If page boxes vary among pages, the entry will read \texttt{various}. Appendix~\ref{dates}. If page boxes vary among pages, the entry will read \texttt{various}.
@ -3187,21 +3185,21 @@ The \texttt{-info-json} operation prints the information in JSON format instead.
{ {
"Encryption": "Not encrypted", "Encryption": "Not encrypted",
"Permissions": [], "Permissions": [],
"Linearized": false, "Linearized": true,
"Object streams": true, "Object streams": true,
"ID": [ "ID": [
"cf745ad901ffba30957a31858132263e", "cf745ad901ffba30957a31858132263e" "0b1f990718e2a92c0c112fbf08b233fb", "b2f1dbee369e11d9b951000393c97fd8"
], ],
"Version": [ 1, 5 ], "Version": [ 1, 5 ],
"Pages": 123, "Pages": 1236,
"Title": null, "Title": "PDF Reference, version 1.6",
"Author": null, "Author": "Adobe Systems Incorporated",
"Subject": null, "Subject": "Adobe Portable Document Format (PDF)",
"Keywords": null, "Keywords": null,
"Creator": "LaTeX with hyperref", "Creator": "FrameMaker 7.0",
"Producer": "pdfTeX-1.40.24", "Producer": "Acrobat Distiller 6.0.1 for Macintosh",
"Created": "D:20240126171732Z", "Created": "D:20041114084116Z",
"Modified": "D:20240126171732Z", "Modified": "D:20041114163850-08'00'",
"Trapped": false, "Trapped": false,
"PageMode": "UseOutlines", "PageMode": "UseOutlines",
"PageLayout": null, "PageLayout": null,
@ -3210,15 +3208,18 @@ The \texttt{-info-json} operation prints the information in JSON format instead.
"HideWindowUI": null, "HideWindowUI": null,
"FitWindow": null, "FitWindow": null,
"CenterWindow": null, "CenterWindow": null,
"DisplayDocTitle": null, "DisplayDocTitle": true,
"NonFullPageScreenMode": null, "NonFullPageScreenMode": null,
"AcroForm": false, "AcroForm": false,
"MediaBox": [ 0.0, 0.0, 540.0, 666.0 ], "MediaBox": [ 0.0, 0.0, 612.0, 792.0 ],
"CropBox": null, "CropBox": [ 41.0, 63.0, 572.0, 729.0 ],
"BleedBox": null, "BleedBox": null,
"TrimBox": null, "TrimBox": "various",
"ArtBox": null, "ArtBox": "various",
"Subformats": [] "Subformats": [],
"XMP dc:title": "PDF Reference, version 1.6",
"XMP dc:creator": "Adobe Systems Incorporated",
"XMP dc:description": "Adobe Portable Document Format (PDF)"
} }
\end{verbatim}}\end{framed} \end{verbatim}}\end{framed}
@ -3248,10 +3249,10 @@ Annotations: 0
"Page": 1, "Page": 1,
"Label": "i", "Label": "i",
"MediaBox": [ 0.0, 0.0, 600.0, 450.0 ], "MediaBox": [ 0.0, 0.0, 600.0, 450.0 ],
"CropBox": [ 66.17453, 184.6437, 178.6582, 210.0717 ], "CropBox": [ 200.0, 200.0, 500.0, 500.0 ],
"BleedBox": [ 0.0, 0.0, 600.0, 450.0 ], "BleedBox": null,
"TrimBox": [ 0.0, 0.0, 600.0, 450.0 ], "TrimBox": null,
"ArtBox": [ 0.0, 0.0, 600.0, 450.0 ], "ArtBox": null,
"Rotation": 0, "Rotation": 0,
"Annotations": 0 "Annotations": 0
} }
@ -3465,13 +3466,13 @@ i, ii, iii, iv, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, A-0, A-1, A-2, A-3, A-4, A-5
\noindent By default the labels begin at page number 1 for each range. To override this, we can use \texttt{-label-startval} (we used $0$ in the final command), where we want the numbers to begin at zero rather than one. The option \texttt{-labels-progress} can be added to make sure the start value progresses between sub-ranges when the page range specified is disjoint, e.g \texttt{1-9, 30-40} or \texttt{odd}. \noindent By default the labels begin at page number 1 for each range. To override this, we can use \texttt{-label-startval} (we used $0$ in the final command), where we want the numbers to begin at zero rather than one. The option \texttt{-labels-progress} can be added to make sure the start value progresses between sub-ranges when the page range specified is disjoint, e.g \texttt{1-9, 30-40} or \texttt{odd}.
Page labels may be removed altogether by using \texttt{-remove-page-labels} command. To print the page labels from an existing file, use \texttt{-print-page-labels}. For example: Page labels may be removed altogether by using \texttt{-remove-page-labels} command. To print the page labels from an existing file, use \texttt{-print-page-labels}. For example:
\begin{framed}\small\begin{verbatim}$ cpdf -print-page-labels cpdfmanual.pdf \begin{framed}\small\begin{verbatim}$ cpdf -print-page-labels in.pdf
labelstyle: LowercaseRoman labelstyle: LowercaseRoman
labelprefix: None labelprefix: None
startpage: 1 startpage: 1
startvalue: 1 startvalue: 1
labelstyle: DecimalArabic labelstyle: DecimalArabic
labelprefix: None labelprefix: A
startpage: 9 startpage: 9
startvalue: 1 startvalue: 1
\end{verbatim} \end{verbatim}
@ -3488,8 +3489,8 @@ startvalue: 1
}, },
{ {
"labelstyle": "DecimalArabic", "labelstyle": "DecimalArabic",
"labelprefix": null, "labelprefix": "A",
"startpage": 17, "startpage": 9,
"startvalue": 1 "startvalue": 1
} }
] ]
@ -4006,9 +4007,9 @@ The information is also available in JSON format with \texttt{-list-fonts-json}:
{ {
"page": 1, "page": 1,
"name": "/F50", "name": "/F50",
"subtype": "/Type1", "subtype": "/Type0",
"basefont": "/MCBERL+URWPalladioL-Roma", "basefont": "/MCBERL+URWPalladioL-Roma",
"encoding": null "encoding": "/Identity-H"
} }
] ]
\end{verbatim} \end{verbatim}