Date: Sun, 5 Oct 2014 20:35:18 +0200 From: Matthias Apitz <guru@unixarea.de> To: freebsd-current@freebsd.org Subject: Re: printing text file with LPD - non-printable characters Message-ID: <20141005183517.GA1073@unixarea.DDR.dd> In-Reply-To: <1412530903064-5954561.post@n5.nabble.com> References: <1412530903064-5954561.post@n5.nabble.com>
next in thread | previous in thread | raw e-mail | index | archive | help
El día Sunday, October 05, 2014 a las 10:41:43AM -0700, Beeblebrox escribió:
> I have two LPD errors
> 1. I see two characters being replaced by strings on the hard copy (the {â}
> below is an {a^}). This happens on the first page and not on following
> pages.
> instead of " I get: â\200\234 (235 for trailing ")
> instead of ' I get: â\200\231
> 2. All non-english characters get garbled, on all pages. These are
> characters like ç, ö, etc.
>
> With these two seemingly separate errors, I can't figure out whether this is
> an lpr or enscript error.
First of all check, what encoding has your text file, UTF-8 or ISO or
...?
Then run the file through the filter
$ /usr/local/bin/enscript -o - < file > out
and check the resulting file 'out'.
I do not know enscript, but guess that it should produce Postscript from
your input file.
I moved the thread by setting Reply-To: to the normal freebsd-question@
list;
matthias
--
Matthias Apitz | /"\ ASCII Ribbon Campaign:
E-mail: guru@unixarea.de | \ / - No HTML/RTF in E-mail
WWW: http://www.unixarea.de/ | X - No proprietary attachments
phone: +49-170-4527211 | / \ - Respect for open standards
| en.wikipedia.org/wiki/ASCII_Ribbon_Campaign
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20141005183517.GA1073>
