Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 6 May 2020 18:00:04 +0700
From:      Victor Sudakov <vas@sibptus.ru>
To:        Polytropon <freebsd@edvax.de>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Brother HL-L2340D printer and lpd?
Message-ID:  <20200506110004.GA77496@admin.sibptus.ru>
In-Reply-To: <20200505202331.53374f21.freebsd@edvax.de>
References:  <20200503171259.GA48627@admin.sibptus.ru> <20200505161952.GA34844@admin.sibptus.ru> <20200505185510.00b622e3.freebsd@edvax.de> <20200505180101.GA35751@admin.sibptus.ru> <20200505202331.53374f21.freebsd@edvax.de>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help

--FL5UXtIhxfXey3p5
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Polytropon wrote:
> > > Personally, I use "encript" for turning ASCII reports
> >=20
> > enscript is good, but it has huge problems with Cyrillic, and is totally
> > lacking multibyte support (UTF-8).
>=20
> Correct. That's why I had to use it with ISO-8859-1 standard
> western europe character set (single byte per symbol) in order
> to get Umlauts displayed correctly. Maybe another processing
> step ("recode utf-8..koi8 <file>") can be used in the printer
> filter.


No matter how I tried "enscript -X koi8 -p test.ps russian-koi8.txt" on
Russian files, the resulting PostScript file is shown by GhostScript
with question marks instead of Russian characters.

I've also tried the ISO charset:

$ iconv -f koi8-r -t ISO-8859-5 < russian-koi8.txt > russian-iso.txt
$ enscript -X cyrillic -p test.ps russian-iso.txt
[ 3 pages * 1 copy ] left in test.ps
53 characters were missing
$

I still get the same question marks (I use gs's png driver to view the
resulting PostScript).

--=20
Victor Sudakov,  VAS4-RIPE, VAS47-RIPN
2:5005/49@fidonet http://vas.tomsk.ru/

--FL5UXtIhxfXey3p5
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQEcBAEBAgAGBQJespi0AAoJEA2k8lmbXsY07dUH+gPsNpAxRCFnmPKrKzM/Qk/e
2ooYjJKNdleCTmVhN0LludA1T+Xwq9CYM+j1xz2Z4fCZEHOmvjI7CPBE/kI92c73
p9Z2KVcvde2Oj9pUDHNYwzlZ6f4lQM7WwMnhJm5xLt2nkZebpW/1RjaAPCTYcLud
T0HkVYoAqHlXw20ZPQUavF3ZgVtoPL9jxOaNOuMAQkGdwYejYeaIUc0cNTVviYAp
lVH1to3XFM584eJwuMtu7WPtEzyIYz2jA0xir2HR8IdpdKmQmt2efivYpggdU0kF
IyF3XI07bJq3m81wbJ/geR2oAZhz8Lrh3Pf93PAF780iD9bMzlbx3/wxu3tbyos=
=9kll
-----END PGP SIGNATURE-----

--FL5UXtIhxfXey3p5--



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?20200506110004.GA77496>