Newsgroups: relcom.fido.ru.unix
From: gen
>>> - Netscape 2.0
>>> ?
, Netscape 2.0 Eps LQ-100
.
Linux :
1. nescript-1.13++ ( ftp'
sunsite.unc.edu/pub/linux/... ..../).
2. /etc/printcap
# Printcap: to be used with the inclosed filter
# Don't forget to place the filter in /etc and make the /var/spool/lpd/lp
# Directory, and set the lp setting to the proper device.
lp:lp=/dev/lp1:sd=/var/spool/lpd/lp:mx%0:if=/etc/filter:sh
# printcap'a
3. , , /etc filter :
#!/bin/sh
# Set the PRINTER var to a "gs" device.
# Try gs -h for a list of drivers
# You must have nenscript installed to run this.
# ghostscript' ( gs)
PRINTER=eps9high
nenscript -ZB -p- | gs -q -sDEVICE=$PRINTER \
-sPAPERSIZE=letter -dNOPAUSE \
-dSAFER -sOutputFile=- -
# filter'a
>>> , .
>>> , lpr ,
>>> , .
.
!
--------------------- NOTE -------------------------
Netscape
PostScript koi8 ( .),
HE 8bit' Nescape' .
:
HTML PS ?????????
PERL, ,
, html2ps,
????????????????
------------------- END NOTE ------------------------
From: maxim@orgland.ru (Maxim Zotov)
Yura Volodin (yura@fossil.ukrcom.sebastopol.ua) wrote:
> Boris Nazarov (nazarov@cecmow.enet.dec.com) wrote:
> > Netscape , PostScript ( )
> > . (
> >
> > ) - Netscape' PostScript
> > .
>
> - ?
>
:
1) - -8
( Type 1 c ftp://ftp.kiae.su/pub/misc/fonts/cyrillic/postscript/)
ghostscrip' Fontmap
2) Netscape :
(~39 ) Netscape :
/F0
/Times-Roman findfont
dup length dict begin
{1 index /FID ne {def} {pop pop} ifelse} forall
/Encoding isolatin1encoding def
currentdict end
definefont pop
/f0 { /F0 findfont exch scalefont setfont } bind def
f1..f7
:
/f0 { /TimesKOI findfont exch scalefont setfont } bind def
^^^^^^^^ -8
- :
/f0 { /TimesKOI findfont exch scalefont setfont } bind def
/f1 { /TimesKOI-Bold findfont exch scalefont setfont } bind def
/f2 { /TimesKOI-Italic findfont exch scalefont setfont } bind def
/f3 { /TimesKOI-BoldItalic findfont exch scalefont setfont } bind def
/f4 { /CourierKOI findfont exch scalefont setfont } bind def
/f5 { /CourierKOI-Bold findfont exch scalefont setfont } bind def
/f6 { /CourierKOI-Oblique findfont exch scalefont setfont } bind def
/f7 { /CourierKOI-BoldOblique findfont exch scalefont setfont } bind def
!
:
[ /.notdef ....
...
... /ydieresis] /isolatin1encoding exch def
/Fn
....
definefont pop
n=0..7
--
http://www.inter-soft.ru/~maxim/ Maxim G. Zotov
From: Boris Nazarov.
Maxim Zotov wrote:
> :
>
> 1) - -8
> ( Type 1 c ftp://ftp.kiae.su/misc/fonts/cyrillic/postscript/)
> ghostscrip' Fontmap
[...]
-, ,
: gs " "
. , , ,
, ,
(TimesKOI etc).
, :
1 ____ (
);
2
( ,
).
, :
(by original solution provider ;-)
1. "" .
2. , NetScape ""
'/rhc'.
.
, ,
Times Courier (
).
, **, , .
Times Courier (
MicroSoft - - ),
( , Academy Magazine).
,
, , Courier.
- .
"" .
1.
/f0 { /F0 findfont exch scalefont setfont } bind def
/f0 { /F0 findfont exch 1 sub scalefont setfont } bind def
~~~~~
, , .
, (f0-f7).
f0-f3 "" , f4-f7 .
Regards,
Boris Nazarov.
Last-modified: Fri, 01 Aug 1997 20:19:47 GMT