Skip to content

Commit

Permalink
booklet from 2up
Browse files Browse the repository at this point in the history
  • Loading branch information
jr-b committed Jul 29, 2023
1 parent ec3c437 commit 92070c9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion script.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,9 @@ echo "running pdfjam - test pdf"
./pdfjam-3.06/bin/pdfjam --batch --nup 2x1 --booklet true --suffix 2up --twoside --openright true --no-landscape --outfile output/ output/outbooklet.pdf

echo "running pdfjam - print pdf"
./pdfjam-3.06/bin/pdfjam --suffix print --nup 2x1 --twoside --signature 4 --no-landscape --outfile output/ output/out.pdf
# Signature => how many pdf pages per paper sheet, including both sides
# In our case, we want 2 pages on the front, 2 pages on the back, so its a signature of 4 pages
./pdfjam-3.06/bin/pdfjam --suffix booklet --twoside --booklet --no-landscape --outfile output/ output/out-2up.pdf

echo "deleting stuff"
rm pdfjam-3.06.tar.gz
Expand Down

0 comments on commit 92070c9

Please sign in to comment.