Advertisement
Guest User

Untitled

a guest
Jul 21st, 2019
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.28 KB | None | 0 0
  1. ##!/bin/sh
  2. echo 'Convert all PS to PDF in current directory and then crop according to the DAVE
  3. sizes (5x4in) 1.75,3.5in offset: in standard PS Letter size'
  4. pwd
  5. for f in *.ps
  6. do
  7. ps2pdf -dEPSCrop "$f"
  8. done
  9. for g in *.pdf
  10. do
  11. pdfcrop --margins "10 10 10 10" "$g"
  12. rm "$g"
  13. done
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement