From owner-freebsd-questions Sat Feb 10 3:17:45 2001 Delivered-To: freebsd-questions@freebsd.org Received: from relay.ioffe.rssi.ru (relay.ioffe.rssi.ru [194.85.224.33]) by hub.freebsd.org (Postfix) with ESMTP id D30B437B4EC for ; Sat, 10 Feb 2001 03:17:24 -0800 (PST) Received: from astro.ioffe.rssi.ru (astro.ioffe.rssi.ru [194.85.229.130]) by relay.ioffe.rssi.ru (8.9.1/8.9.1) with ESMTP id OAA11337 for ; Sat, 10 Feb 2001 14:17:15 +0300 (MSK) Received: by astro.ioffe.rssi.ru (8.9.3/Clnt-2.14-AS-eef) id OAA56755; Sat, 10 Feb 2001 14:16:47 +0300 (MSK) Date: Sat, 10 Feb 2001 14:16:47 +0300 (MSK) From: Alexey Koptsevich To: questions@freebsd.org Subject: printing Russian with a2ps Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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