pdf_scripts/pdf2archive.sh

15 lines
302 B
Bash
Executable file

#!/bin/bash
titul=$1
block=$2
gs \
-dPDFA \
-dBATCH \
-dNOPAUSE \
-dCompatibilityLevel=1.4 \
-dOverrideICC \
-sDEVICE=pdfwrite \
-dPDFACompatibilityPolicy=1 \
-sProcessColorModel=DeviceRGB \
-sColorConversionStrategy=UseDeviceIndependentColor \
-o "$block-archive.pdf" \
"$titul" "$block"