blob: 6e1313ed63a3e6f211cc91440e558029bc04fefe (
plain)
1
2
3
4
5
6
7
|
#!/bin/bash
# Source: http://tex.stackexchange.com/a/41273
file=$1
gs -sDEVICE=pdfwrite -dCompatibilityLevel=1.4 -dPDFSETTINGS=/printer -dNOPAUSE -dQUIET -dBATCH -sOutputFile="${1%.pdf}_small.pdf" "$file"
|