para_bellum

Insert blank page after each page in a pdf

Dec 21st, 2023
33
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.18 KB | None | 0 0
  1. echo "" | ps2pdf -sPAPERSIZE=a4 - blank.pdf
  2. pdftk input.pdf burst output burst_output%d.pdf
  3. pdftk $(for f in burst_output*.pdf; do echo -n "$f blank.pdf "; done) cat output final.pdf
Add Comment
Please, Sign In to add comment