projects
/
hacks
/
simpleWebSlides.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
f880985a4f08df283e36c16af4427e50c60611f0
[hacks/simpleWebSlides.git]
/
scripts
/
nup.sh
1
#!/bin/sh
2
3
INPUT="$1"
4
OUTDIR=$(dirname "$INPUT")
5
if [ -z "$OUTDIR" ]; then
6
OUTDIR="."
7
fi
8
OUTPUT="$OUTDIR"/$(basename "$INPUT" .pdf)"_print.pdf"
9
10
pdfjam --landscape --nup 2x2 --scale 0.9 --paper a4 -o "$OUTPUT" "$INPUT"