Crop PDF border and add page numbers

Feb 14th, 2017
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # Crop left border and a little top border :
  2. pdfcrop --margins "-45 -10 0 0" FILE.pdf OUTPUT.pdf
  4. # Add page numbers :
  5. pspdftool 'number(start=1, size=6, x=305 pt, y=10 pt)' FILE.pdf OUTPUT.pdf
  7. # If pspdftool make a xreftable error, then fix the problem with :
  8. pdftk FILE.pdf output OUTPUT.pdf
RAW Paste Data

Adblocker detected! Please consider disabling it...

We've detected AdBlock Plus or some other adblocking software preventing Pastebin.com from fully loading.

We don't have any obnoxious sound, or popup ads, we actively block these annoying types of ads!

Please add Pastebin.com to your ad blocker whitelist or disable your adblocking software.