pdfcpu

Logo

PDF tooling for Go and the command line.

View the Project on GitHub pdfcpu/pdfcpu


Changelog
Future Directions

Reset Viewer Preferences

This command resets the viewer preferences for a PDF document.

Have a look at some examples.

Usage

pdfcpu viewerpref reset inFile [ outFile ] [flags]

Common Flags


Arguments

namedescriptionrequired
inFilePDF input file, use - to read from stdinyes
outFilePDF output file, use - to write to stdoutno

Examples

Reset the viewer preferences for test.pdf:

$ pdfcpu viewerpref reset test.pdf

Reset viewer preferences while reading and writing the PDF through pipes:

$ aws s3 cp s3://acme-print/catalog-print-ready.pdf - \
   | pdfcpu viewerpref reset - - \
   | aws s3 cp - s3://acme-print/catalog-default-viewer.pdf