Rotate all pages of PDF from command line in OS X?
up vote
3
down vote
favorite
Is there any way to rotate PDF pages from the command line in in OS X?
macos command-line pdf
add a comment |
up vote
3
down vote
favorite
Is there any way to rotate PDF pages from the command line in in OS X?
macos command-line pdf
add a comment |
up vote
3
down vote
favorite
up vote
3
down vote
favorite
Is there any way to rotate PDF pages from the command line in in OS X?
macos command-line pdf
Is there any way to rotate PDF pages from the command line in in OS X?
macos command-line pdf
macos command-line pdf
edited Jan 18 '16 at 2:19
nc4pk
7,172114867
7,172114867
asked Jan 14 '16 at 9:11
akxlr
1586
1586
add a comment |
add a comment |
3 Answers
3
active
oldest
votes
up vote
3
down vote
Sejda's command line can help rotate PDF pages.
./bin/sejda-console rotate --rotation 90 --files /tmp/file.pdf --output /tmp --pageSelection 4,12-14
Open source project, free, I'm one of the developers.
1
Not in homebrew. :-(
– Mitar
Dec 16 '16 at 0:20
add a comment |
up vote
1
down vote
This can be achieved by using pdf90
, pdf180
or pdf270
, which are all part of pdfjam
. The latter comes with mactex
. You can install it with homebrew cask, by brew cask install mactex
. To rotate the PDF document.pdf
90 degrees anticlockwise, use:
pdf90 document.pdf
This will create a file document-rotated90.pdf
. See also this answer.
Installing MacTeX to rotate a PDF may be an overkill...
– Alexey
Nov 21 at 16:53
add a comment |
up vote
0
down vote
Check out qpdf
. From the manual:
--rotate=[+|-]angle[:page-range]
Apply rotation to specified pages. The page-range portion of the option value has the same format as page ranges in Section 3.4, “Page
Selection Options”. If the page range is omitted, the rotation is
applied to all pages. The angle portion of the parameter may be either
90, 180, or 270. If preceded by + or -, the angle is added to or
subtracted from the specified pages' original rotations. Otherwise the
pages' rotations are set to the exact value. 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.
add a comment |
3 Answers
3
active
oldest
votes
3 Answers
3
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
3
down vote
Sejda's command line can help rotate PDF pages.
./bin/sejda-console rotate --rotation 90 --files /tmp/file.pdf --output /tmp --pageSelection 4,12-14
Open source project, free, I'm one of the developers.
1
Not in homebrew. :-(
– Mitar
Dec 16 '16 at 0:20
add a comment |
up vote
3
down vote
Sejda's command line can help rotate PDF pages.
./bin/sejda-console rotate --rotation 90 --files /tmp/file.pdf --output /tmp --pageSelection 4,12-14
Open source project, free, I'm one of the developers.
1
Not in homebrew. :-(
– Mitar
Dec 16 '16 at 0:20
add a comment |
up vote
3
down vote
up vote
3
down vote
Sejda's command line can help rotate PDF pages.
./bin/sejda-console rotate --rotation 90 --files /tmp/file.pdf --output /tmp --pageSelection 4,12-14
Open source project, free, I'm one of the developers.
Sejda's command line can help rotate PDF pages.
./bin/sejda-console rotate --rotation 90 --files /tmp/file.pdf --output /tmp --pageSelection 4,12-14
Open source project, free, I'm one of the developers.
answered Jan 14 '16 at 10:19
Edi
45539
45539
1
Not in homebrew. :-(
– Mitar
Dec 16 '16 at 0:20
add a comment |
1
Not in homebrew. :-(
– Mitar
Dec 16 '16 at 0:20
1
1
Not in homebrew. :-(
– Mitar
Dec 16 '16 at 0:20
Not in homebrew. :-(
– Mitar
Dec 16 '16 at 0:20
add a comment |
up vote
1
down vote
This can be achieved by using pdf90
, pdf180
or pdf270
, which are all part of pdfjam
. The latter comes with mactex
. You can install it with homebrew cask, by brew cask install mactex
. To rotate the PDF document.pdf
90 degrees anticlockwise, use:
pdf90 document.pdf
This will create a file document-rotated90.pdf
. See also this answer.
Installing MacTeX to rotate a PDF may be an overkill...
– Alexey
Nov 21 at 16:53
add a comment |
up vote
1
down vote
This can be achieved by using pdf90
, pdf180
or pdf270
, which are all part of pdfjam
. The latter comes with mactex
. You can install it with homebrew cask, by brew cask install mactex
. To rotate the PDF document.pdf
90 degrees anticlockwise, use:
pdf90 document.pdf
This will create a file document-rotated90.pdf
. See also this answer.
Installing MacTeX to rotate a PDF may be an overkill...
– Alexey
Nov 21 at 16:53
add a comment |
up vote
1
down vote
up vote
1
down vote
This can be achieved by using pdf90
, pdf180
or pdf270
, which are all part of pdfjam
. The latter comes with mactex
. You can install it with homebrew cask, by brew cask install mactex
. To rotate the PDF document.pdf
90 degrees anticlockwise, use:
pdf90 document.pdf
This will create a file document-rotated90.pdf
. See also this answer.
This can be achieved by using pdf90
, pdf180
or pdf270
, which are all part of pdfjam
. The latter comes with mactex
. You can install it with homebrew cask, by brew cask install mactex
. To rotate the PDF document.pdf
90 degrees anticlockwise, use:
pdf90 document.pdf
This will create a file document-rotated90.pdf
. See also this answer.
answered Nov 21 at 16:28
ttq
411143
411143
Installing MacTeX to rotate a PDF may be an overkill...
– Alexey
Nov 21 at 16:53
add a comment |
Installing MacTeX to rotate a PDF may be an overkill...
– Alexey
Nov 21 at 16:53
Installing MacTeX to rotate a PDF may be an overkill...
– Alexey
Nov 21 at 16:53
Installing MacTeX to rotate a PDF may be an overkill...
– Alexey
Nov 21 at 16:53
add a comment |
up vote
0
down vote
Check out qpdf
. From the manual:
--rotate=[+|-]angle[:page-range]
Apply rotation to specified pages. The page-range portion of the option value has the same format as page ranges in Section 3.4, “Page
Selection Options”. If the page range is omitted, the rotation is
applied to all pages. The angle portion of the parameter may be either
90, 180, or 270. If preceded by + or -, the angle is added to or
subtracted from the specified pages' original rotations. Otherwise the
pages' rotations are set to the exact value. 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.
add a comment |
up vote
0
down vote
Check out qpdf
. From the manual:
--rotate=[+|-]angle[:page-range]
Apply rotation to specified pages. The page-range portion of the option value has the same format as page ranges in Section 3.4, “Page
Selection Options”. If the page range is omitted, the rotation is
applied to all pages. The angle portion of the parameter may be either
90, 180, or 270. If preceded by + or -, the angle is added to or
subtracted from the specified pages' original rotations. Otherwise the
pages' rotations are set to the exact value. 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.
add a comment |
up vote
0
down vote
up vote
0
down vote
Check out qpdf
. From the manual:
--rotate=[+|-]angle[:page-range]
Apply rotation to specified pages. The page-range portion of the option value has the same format as page ranges in Section 3.4, “Page
Selection Options”. If the page range is omitted, the rotation is
applied to all pages. The angle portion of the parameter may be either
90, 180, or 270. If preceded by + or -, the angle is added to or
subtracted from the specified pages' original rotations. Otherwise the
pages' rotations are set to the exact value. 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.
Check out qpdf
. From the manual:
--rotate=[+|-]angle[:page-range]
Apply rotation to specified pages. The page-range portion of the option value has the same format as page ranges in Section 3.4, “Page
Selection Options”. If the page range is omitted, the rotation is
applied to all pages. The angle portion of the parameter may be either
90, 180, or 270. If preceded by + or -, the angle is added to or
subtracted from the specified pages' original rotations. Otherwise the
pages' rotations are set to the exact value. 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.
answered Nov 21 at 16:56
Alexey
533518
533518
add a comment |
add a comment |
Thanks for contributing an answer to Super User!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1026213%2frotate-all-pages-of-pdf-from-command-line-in-os-x%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown