Reverse detail from Kakelbont MS 1, a fifteenth-century French Psalter. This image is in the public domain. Daniel Paul O'Donnell

Forward to Navigation

Rotating one or more pages in a PDF in linux

Posted: Mar 23, 2020 15:03;
Last Modified: Mar 23, 2020 15:03

---

Had to rotate a single page of a PDF. Here’s how to do it using pdftk (from makandra.com):

pdftk in.pdf cat 1east output out.pdf # new pdftk
pdftk in.pdf cat 1-endeast output out.pdf # new pdftk

The east etc. is meaningful if you want other rotations. From the man page:

The page rotation setting can cause pdftk to rotate pages and documents. Each option sets the page rotation as follows (in degrees): north: 0, east: 90, south: 180, west: 270, left: -90, right: +90, down: +180. left, right, and down make relative adjustments to a page’s rotation.

Note: the single page instructions extract and rotate the page (i.e. the output document is the rotated page only).

----  

Comment

:
:

:

Textile help

Back to content

Search my site

Sections

Current teaching

Recent changes to this site

Tags

anglo-saxon studies, caedmon, citation, citation practice, citations, composition, computers, digital humanities, digital pedagogy, exercises, grammar, history, moodle, old english, pedagogy, research, student employees, students, study tips, teaching, tips, tutorials, unessay, universities, university of lethbridge

See all...

Follow me on Twitter

At the dpod blog