12 lines
221 B
Bash
Executable file
12 lines
221 B
Bash
Executable file
#!/bin/bash
|
|
name=$1
|
|
gs \
|
|
-dNOPAUSE \
|
|
-dBATCH \
|
|
-sDEVICE=pdfwrite \
|
|
-dQUIET \
|
|
-dCompatibilityLevel=1.4 \
|
|
-dAutoRotatePages=/None \
|
|
-dPDFSETTINGS=/ebook \
|
|
-sOutputFile="$name-ebook.pdf" \
|
|
"$name"
|