

For example, the command qpdf in.pdf out.pdf -rotate=+90:2,4,6 -rotate=180:7-8 would rotate pages 2, 4, and 6 90 degrees clockwise from their original rotation and force the rotation of pages 7 through 9 to 180 degrees regardless of their original rotation, and the command qpdf in.pdf out.pdf -rotate=180 would rotate all pages by 180 degrees. Otherwise the pages' rotations are set to the exact value.

If preceded by + or -, the angle is added to or subtracted from the specified pages' original rotations. The angle portion of the parameter may be either 90, 180, or 270. If the page range is omitted, the rotation is applied to all pages. The page-range portion of the option value has the same format as page ranges in Section 3.5, “Page Selection Options”. You can use: qpdf in.pdf out.pdf -rotate=angle.Īpply rotation to specified pages. In Linux Mint 18.3 (I believe in other Debian derived distributions as well) you have a simple command line tool named qpdf.
#How to rotate pdf pages and save pro#
