Next Previous Contents

8. and PostScript

- - . . ASCII ( UNIX, .

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

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

, () - , . , .

, , , , , , , , , .

8.1 PostScript

ASCII KOI-8 , . PostScript.

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

A2ps

PostScript . , , , , a2ps 4.9.8 . , - PostScript .

, :

a2ps -X koi8r --print-anyway  <>

GNU enscript

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

  1. enscript. , 1.5. GNU FTP , RPM Redhat.
  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. PostScript. (, ) - .

8.2 TeX

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

8.3 PostScript

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

PostScript, :

, . , .

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

, - Ghostscript, , PostScript ( HP LaserJet IV).

Ghostscript

, , , PostScript . , gs .

( pfa pfb) gs, :

  1. tt/gs/ ( . /usr/lib/ghostscript/fonts).
  2. aliases Fontmap gs.

GhostScript. ftp.kapella.gpi.ru. Fontmap. /pub/cyrillic/psfonts. README .

8.4

, , KOI-8, :

  1. KOI-8 . 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).


Next Previous Contents