#!/bin/csh # File: ppd2fs # This simple C-Shell script extracts font set declared in PPD file. # PPD (PostScript(R) Printer Description) file for particular printer # anyone can extract # from the '/pub/adobe/PPD/win' directory of the 'ftp.adobe.com' host. # So, PPD-file for the 'HP LaserJet IIIP PostScript Plus' is hplj_3p1.ppd. # This printer contains 35 builtin fonts. List of fonts can be extracted # by command: # ppd2fs hplj_3p1.ppd >hplj_3p1.FontSet # grep "^\*Font" $1 | cut "-d " -f2 | cut -d: -f1 ###