Fix small things

This commit is contained in:
Marco Thomas
2021-07-20 10:51:56 +02:00
parent a145890178
commit 6d0b3481c9
3 changed files with 25 additions and 12 deletions

15
files/scripts/compress_pdf.sh Executable file
View File

@@ -0,0 +1,15 @@
#!/bin/bash
OUT=$2
IN=$1
# /printer = bigger
# /ebook = smaller
gs \
-sOutputFile=${OUT} \
-sDEVICE=pdfwrite \
-dNOPAUSE \
-dBATCH \
-dPDFSETTINGS=/printer \
${IN}