Advertisement
OPiMedia

Crop PDF border and add page numbers

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