pdfcpu

Logo

A PDF processor written in Go.

View the Project on GitHub pdfcpu/pdfcpu


Changelog

Reset Page Layout

This command resets the configured page layout for a PDF file.

Have a look at some examples.

Usage

pdfcpu pagelayout reset inFile


Common Flags

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


Arguments

name description required
inFile PDF input file yes


Examples

Reset page layout for test.pdf:

$ pdfcpu pagelayout reset test.pdf
$ pdfcpu pagelayout list test.pdf
No page layout set, PDF viewers will default to "SinglePage"