How to rotate pages of PDF file

Sometimes, the pages in a PDF file might be rotated wrongly. For example, this can happen as the result of automatic scanning of documents.

To rotate the pages of a PDF file, the pdf90 tool can be used.

First, install the texlive-extra-utils package:

$ sudo apt-get install texlive-extra-utils

Then call pdf90 to rotate the pages of a PDF file by 90 degrees in counterclockwise direction:

$ pdf90 foobar.pdf

The output is written to a file with suffix of -rotated90. For example, foobar.pdf becomes foobar-rotated90.pdf.

Tried with: Ubuntu 14.04

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s