From owner-freebsd-questions Thu Aug 23 2:32:51 2001 Delivered-To: freebsd-questions@freebsd.org Received: from omsk.mushinsky.net (omsk.mushinsky.net [66.114.66.201]) by hub.freebsd.org (Postfix) with ESMTP id C2FA037B40F for ; Thu, 23 Aug 2001 02:32:46 -0700 (PDT) (envelope-from itz@omsk.mushinsky.net) Received: by omsk.mushinsky.net (8.11.3/8.11.1) id f7N9VpA02945; Thu, 23 Aug 2001 05:31:51 -0400 (EDT) (envelope-from itz) Message-Id: <200108230931.f7N9VpA02945@omsk.mushinsky.net> Content-Type: text/plain; charset="koi8-r" From: Isaac Mushinsky To: Micke Josefsson Subject: Re: Printing cyrillic chars Date: Thu, 23 Aug 2001 05:31:47 -0400 X-Mailer: KMail [version 1.3] References: In-Reply-To: Cc: "freebsd-questions" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG You need to substitute the postscript fonts with the Russian ones. Downlo= ad=20 the fonts using russian/koi8r-ps in ports if you don't have them yet. In order to make the printer always print using these fonts, you may want= to=20 delete the old fonts and edit the aliases file to alias Times->TimesNRCyr= MT,=20 etc. However, this is not nice; if you only need to print Russian occasionally= ,=20 run your document through a sed script like this: #!/bin/sh sed "s/Times-Roman/TimesNRCyrMT/g; \ s/Times-Bold/TimesNRCyrMT-Bold/g;\ s/Times-Italic/TimesNRCyrMT-Italic/g; \ s/Courier/CourierCyrPS/g;\ s/Helvetica/ArialCyrMT/g;"=20 =2E.. use=20 cat yourfile.ps | the_script | lpr If you often print russian, you can make a print filter apply the script=20 before sending the file to print.=20 Good luck. On Thursday 23 August 2001 01:56, you wrote: > I can view cyrillic charcters i netscape but when I try to print it out= it > is all jibberish. What can I do? I have tried 'setenv LANG' to no avail= =2E > The postscript looks the same on the printer as in ghostview. But it lo= oks > OK on the screen in netscape... > > Russian users out there: How do you do it? > > /Micke > > > ---------------------------------- > Michael Josefsson, MSEE > mj@isy.liu.se > > This message was sent by XFMail > running on FreeBSD 4.3-STABLE > ---------------------------------- > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message