blob: ff48ce8ff3cb281b2e4a6a20f543398fc10e9b2a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
#!/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
###
|