A PDF processor written in Go.

View the Project on GitHub pdfcpu/pdfcpu


List Page Mode

This command prints the page mode that shall be used when the document is opened.

Have a look at some examples.


pdfcpu pagemode list inFile

Common Flags

name description values
v(erbose) turn on logging  
vv verbose logging  
q(uiet) quiet mode  
u(nit) display unit po(ints),in(ches),cm,mm
c(onf) config dir $path, disable
upw user password  
opw owner password  


name description required
inFile PDF input file yes

Page Modes

name description
UseNone Neither document outline nor thumbnail images visible (default)
UseOutlines Document outline visible
UseThumbs Thumbnail images visible
FullScreen Optional content group panel visible (since PDF 1.5)
UseOC Display the pages two at a time, with odd-numbered pages on the right
UseAttachments Attachments panel visible (since PDF 1.6)


List page mode of test1.pdf:

$ pdfcpu pagemode list test1.pdf
No page mode set, PDF viewers will default to "UseNone"

List page mode of test2.pdf:

$ pdfcpu pagemode list test2.pdf