Date: Thu, 23 Aug 2001 16:19:25 +0200 (CEST) From: Micke Josefsson <mj@isy.liu.se> To: Micke Josefsson <mj@isy.liu.se> Cc: freebsd-questions <freebsd-questions@FreeBSD.ORG>, Isaac Mushinsky <itz@mushinsky.net> Subject: Re: Printing cyrillic chars Message-ID: <XFMail.010823161925.mj@isy.liu.se> In-Reply-To: <XFMail.010823160508.mj@isy.liu.se>
next in thread | previous in thread | raw e-mail | index | archive | help
On 23-Aug-01 Micke Josefsson wrote: > > On 23-Aug-01 Isaac Mushinsky wrote: >> You need to substitute the postscript fonts with the Russian ones. Download >> 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 >> delete the old fonts and edit the aliases file to alias Times->TimesNRCyrMT, >> etc. >> >> However, this is not nice; if you only need to print Russian occasionally, >> 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;" >> ... >> >> use >> >> cat yourfile.ps | the_script | lpr >> >> If you often print russian, you can make a print filter apply the script >> before sending the file to print. >> >> Good luck. > > OK, have done that. Now the pages look nice when in ghostscript but they are > still "encrypted" when printed. I have tried two different printers HP 4500 > and > HP 8500. > > Any tips? Ah! Found it! gs -sDEVICE=ljet4 -dNOPAUSE -sOutputFile=tmp.ps netscape.ps did the trick. However tmp.ps is not viewable in ghostview, but it really does print OK. Thanks. /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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.010823161925.mj>