Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 10 Feb 2001 14:16:47 +0300 (MSK)
From:      Alexey Koptsevich <kopts@astro.ioffe.rssi.ru>
To:        questions@freebsd.org
Subject:   printing Russian with a2ps
Message-ID:  <Pine.BSF.4.21.0102101414000.53079-100000@astro.ioffe.rssi.ru>

next in thread | raw e-mail | index | archive | help

Hello,

Although it is not FreeBSD specific question, I would be grateful for
help from friendly FreeBSD community :)

I am not able to realize how to print Russian text files with a2ps.
I have Russian PS fonts, I have added them following instructions found in
Sec. "5.3.3 Adding More Font Support" of the manual:
- added directory to the AppendLibraryPath
- run /usr/local/share/a2ps/afm/make_fonts_map.sh -- new fonts appeared
- replaced old fonts.map with the new one
- replaced names of the old fonts in encoding/koi8.edf by the new fonts I
  have installed

Now I try to print Russian text file in koi8 via the following command:

cat o.tex | a2ps -o o.ps -X koi8 | gv -arguments -dNOPLATFONTS o.ps

But I am replied: "a2ps: `stdin' is a binary file, printing aborted"!
Of course Russian text files are "binary"! How can I fix the problem?

Please cc: me your reply.

Thanks,
Alex






To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0102101414000.53079-100000>