Next Previous Contents

10. PostScript

- - . . ASCII ( UNIX, .

, . - , , de facto PostScript, Adobe Corporation. PostScript , Postscript . , , PostScript , Postscript . (, ). GNU GhostScript (gs ).

- , . , "C"  , , "" - ASCII . , . , , .. .

, () -, . , .

, , , , , , , , .

10.1 PostScript

ASCII KOI-8 , . - , PostScript.

, . a2ps. text-to-PostScript , "", . , , .. , ( GNU) - enscript.

A2ps

PostScript . , - PostScript .

, :

a2ps -X koi8r --print-anyway  <>

GNU enscript

GNU enscript , a2ps, PostScript, ascii . PostScript , . , ( Michael Van Canneyt):

  1. enscript. 1.5. GNU FTP .
  2. - RedHat Linux, Cyrillic Textbook.
  3. RPM, textbook.tar.gz sunsite.unc.edu ( ). , enscript ( /usr/share/enscript). :
        mkafmmap *.afm
    
  4. . KOI8-R :
        enscript --font=Textbook8 --encoding=koi8 some.file
    

rtxt2ps

, , , - - rtxt2ps. , PostScript. (, ), .

10.2 TeX

, - ASCII , , TeX . - translit ( ). TeX, translit Washington Cyrillic, TeX ( Washington Cyrillic).

10.3 PostScript

, PostScript - . - , , PostScript. . , , ( 99 % ).

PostScript, :

, . , .

- , , Ghostscript. Ghostscript ( gs newspeak) free (, ) PostScript. ; :

, Ghostscript, , PostScript ( HP LaserJet IV).

10.4 Type1 Encapsulated PostScript (eps)

PostScript , TeX. Adobe PostScript (EPS EPSF), PostScript (PostScript Document Structuring Conventions).

EPS, LaTeX. : , EPS , (, - PostScript Type1), .

EPS, AAA, AAA.PFA PostScript , , AAA.PFA %%EndProlog EPS.

PFB , PFA. pfb2pfa (. CTAN) t1ascii (. t1utils).

includeresources psutils - , .

Postcript .

10.5 Ghostscript

Ghostscript - , Unix Ghostscript.

ghostscript

- , ghostscript. , , root- . , . , . Netscape , PostScript . ( ) .

(. ~/.ghostscript) . Fontmap . GS_LIB:

export GS_LIB=~/.ghostscript

ghostscript, ~/.ghostscript ( Fontmap) .

Ghostscript

, , , PostScript . gs , .

( pfa pfb) gs, :

  1. tt/gs/. /usr/lib/ghostscript/fonts - 'gs -h'.
  2. aliases Fontmap gs.

Type1 Type1.

10.6

, , KOI8, :

  1. KOI8 . ftp MS DOS - Internete ( SimTel).
  2. . , .
  3. rc .

, Cyrillic - .

KOI8-R Alt . :

, " " .

, , KOI8-R Alt . , , ( ), /etc/printcap "if ". , translit :


if=/usr/bin/translit -t koi8-alt.rus

printcap(5).

10.7 A4

, , A4 ( Serbian-HOWTO).


Next Previous Contents