printing text file with LPD - non-printable characters

Beeblebrox zaphod at
Tue Oct 14 08:19:49 UTC 2014

Enscript does not support UTF-8 formatted text files, so it's not usable in
this case.

One solution, "is to use paps, instead of Enscript, for converting UTF-8
encoded text to PostScript."

Another (which I prefer) solution is to send to printer like this (with "n"
being the 8859 extension number):
$ iconv -f UTF-8 -t ISO-8859-n file-UTF8.txt | enscript --encoding=8859n |
lpr -P<printer>

Thanks to Martin Paredes for this suggestion.

Perhaps this information or the appropriate enscript conversion code for
psif could be included in the Handbook
( /


View this message in context:
Sent from the freebsd-current mailing list archive at

More information about the freebsd-current mailing list