Make enscript support at least some UTF-8.

This commit is contained in:
Christoph Lohmann 2020-05-02 15:04:39 +02:00
parent dd0a478f3e
commit 9d9bd91369

View File

@ -6,5 +6,8 @@
name="slides"
[ $# -gt 0 ] && name="$1"
enscript *.txt -Brf "Courier16" -p - | ps2pdf - "${name}.pdf"
enscript *.txt -Brf "Courier16" \
-I "cat %s | iconv -c -f utf-8 -t iso-8859-1//translit" \
-p - \
| ps2pdf - "${name}.pdf"