commit 6d2d608e28eb589bd5fa58bdd8730af0c2695bb5
parent 76ac7498f50b2dba53c5f6527ab761d6a2d9a0d6
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date: Fri, 29 May 2020 10:43:28 +0200
Run enscript(1) with quiet option
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.local/bin/txt2pdf b/.local/bin/txt2pdf
@@ -7,7 +7,7 @@ fi
fontsize=11
for f in "$@"; do
- enscript "$f" -Bf "Courier${fontsize}" \
+ enscript "$f" -qBf "Courier${fontsize}" \
-I "cat %s | iconv -c -f utf-8 -t iso-8859-1//translit" -p - \
| ps2pdf - "${f%.*}.pdf"
done