summaryrefslogtreecommitdiff
path: root/docs/manual-mutool-show.html
blob: e9568fed4402500bac584ac147ec7393bca2150a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
<!DOCTYPE html>
<html>
<head>
<title>mutool show</title>
<link rel="stylesheet" href="style.css" type="text/css">
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>

<body>

<header>
<h1>mutool show</h1>
</header>

<nav>
<a href="http://mupdf.com/index.html">About</a>
<a href="http://mupdf.com/news.html">News</a>
<a href="index.html">Documentation</a>
<a href="http://mupdf.com/downloads/">Downloads</a>
<a href="http://git.ghostscript.com/?p=mupdf.git;a=summary">Source</a>
<a href="https://bugs.ghostscript.com/">Bugs</a>
</nav>

<article>

<p>
The show command will print the specified objects and streams to
stdout.  Streams are decoded and non-printable characters are
represented with a period by default.

<pre>
mutool show [options] file.pdf [object numbers ...]
</pre>

<p>
Options:

<dl>
<dt> -p password
<dd> Use the specified password if the file is encrypted.
<dt> -o file
<dd> Write output to file instead of stdout.
<dt> -b
<dd> Print streams as binary data and omit the object header.
<dt> -e
<dd> Print streams in their original encoded (or compressed) form.
</dl>

<p>
Specify objects by number, or use one of the following special names:

<dl>
<dt> 'xref' or 'x'
<dd> Print the cross reference table.
<dt> 'trailer' or 't'
<dd> Print the trailer dictionary.
<dt> 'encrypt' or 'e'
<dd> Print the encryption dictionary.
<dt> 'pagetree' or 'p'
<dd> List the object numbers for every page.
<dt> 'grep' or 'g'
<dd> Print all the objects in the file in a compact one-line format
suitable for piping to grep.
<dt> 'outline' or 'o'
<dd> Print the outline (table of contents).
</dl>

</article>

<footer>
<a href="http://artifex.com"><img src="artifex-logo.png" align="right"></a>
Copyright &copy; 2006-2017 Artifex Software Inc.
</footer>

</body>
</html>