Make enscript support at least some UTF-8.

master
Christoph Lohmann 2020-05-02 15:04:39 +02:00
parent dd0a478f3e
commit 9d9bd91369
1 changed files with 4 additions and 1 deletions

View File

@ -6,5 +6,8 @@
name="slides" name="slides"
[ $# -gt 0 ] && name="$1" [ $# -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"