═╫╡ßÑ╒Ñ⌐Ñ≤Ñ╚ñ╬╠╛┴░ñ╧╞■╬╧ files ñ╦ñóñδ├φ╝ß(%%DocumentFonts: ñ╟Ñ▐í╝Ñ»ñ╡ñ∞ñδ)ñ╟╗╪─Ωñ╡ñ∞ñ▐ñ╣íú═°═╤▓─╟╜ñ╩Ñ┐ÑñÑ╫ 1 Ñ╒Ñ⌐Ñ≤Ñ╚ñ╧ -m ѬÑ╫Ñ╖ÑτÑ≤ñ╟┴¬┬≥ñ╡ñ∞ñ┐Ñ▐Ñ├Ñ╫Ñ╞í╝Ñ╓Ñδñ╟ÑΩÑ╣Ñ╚ñ╡ñ∞ñ╞ñññδñΓñ╬ñ╟ñ╣íú
Ñ▐Ñ├Ñ╫Ñ╞í╝Ñ╓Ñδñ╧Ñ╒Ñ⌐Ñ≤Ñ╚╠╛ñ╚Ñ╒ÑíÑñÑδ╠╛ñ╬┴╚ñ▀╣τñ∩ñ╗ñ╟╣╜└«ñ╡ñ∞ñ▐ñ╣íúÑ╒Ñ⌐Ñ≤Ñ╚╠╛ñ╧ PostScript Ñ┐ÑñÑ╫ 1 Ñ╒Ñ⌐Ñ≤Ñ╚╠╛ñ╟íó%%DocumentFonts: ├φ╝ßñΣÑ┐ÑñÑ╫ 1 Ñ╒Ñ⌐Ñ≤Ñ╚Ñ╫ÑφÑ░ÑΘÑα╝½┬╬ñ╬ÑΩÑ╞ÑΘÑδ /FontName ñ╚ñ╖ñ╞╗╚═╤ñ╡ñ∞ñ▐ñ╣íúÑ╒ÑíÑñÑδ╠╛ñ╧Ñ█Ñ╣Ñ╚╛∩├≤Ñ┐ÑñÑ╫ 1 Ñ╒Ñ⌐Ñ≤Ñ╚ñ╬Ñ╤Ñ╣╠╛ñ╟ñ╣íú``/''ñ╟╗╧ñ▐ñδÑ╒ÑíÑñÑδ╠╛ñ╧ñ╜ñ╬ñ▐ñ▐╗╚═╤ñ╡ñ∞ñ▐ñ╣íúñ╜ñ∞░╩│░ñ╬╛∞╣τíóÑ╤Ñ╣╠╛ñ╧Ñ█Ñ╣Ñ╚ñ╬Ñ╒Ñ⌐Ñ≤Ñ╚Ñ╟ÑúÑ∞Ñ»Ñ╚ÑΩñ½ñΘñ╬┴Ω┬╨Ñ╤Ñ╣ñ╟ñ╣íúÑ▐Ñ├Ñ╫Ñ╞í╝Ñ╓Ñδñ╬├φ╝ßñ╧``%''(PostScript ñ╬ % ñ╩ñ╔)ñ╟╗╧ñ▐ñΩíóñ╜ñ╬╣╘ñ╬╜¬ñ∩ñΩñ▐ñ╟┬│ñ¡ñ▐ñ╣íú
Ñ└ѪÑ≤Ñφí╝Ñ╔ñ╟ñ¡ñδñ╬ñ╧íó╞╔ñ▀╣■ñ▀▓─╟╜Ñ╒ÑíÑñÑδñ╦ download ñ≥╗╪╝¿ñ╣ñδÑ▐Ñ├Ñ╫Ñ╞í╝Ñ╓Ñδ╞Γñ╬Ñ╒Ñ⌐Ñ≤Ñ╚ñ╬ñ▀ñ╟ñ╣íúÑ┐ÑñÑ╫ 1 Ñ╒Ñ⌐Ñ≤Ñ╚ñ¼ %%DocumentFonts: ├φ╝ßñ▐ñ┐ñ╧ PostScript Ñ╒ÑíÑñÑδñ╟ 2 ▓≤░╩╛σÑ└ѪÑ≤Ñφí╝Ñ╔ñ╡ñ∞ñ╞ñññ╞ñΓíóÑ└ѪÑ≤Ñφí╝Ñ╔ñ╡ñ∞ñδñ╬ñ╧íóñ╗ñññ╝ññ 1 Ñ╔Ñ¡ÑσÑßÑ≤Ñ╚ñ╦ñ─ñ¡ 1 ▓≤ñ╟ñ╣íúÑ╒Ñ⌐Ñ≤Ñ╚ñ╧ PostScript Ñ╕ÑτÑ╓ñ╬┤╓ñ╬ñ▀Ñ└ѪÑ≤Ñφí╝Ñ╔ñ╡ñ∞ñ▐ñ╣íúñ╖ñ½ñ╖íóexitserver ▒Θ╗╗╗╥ñ≥═╤ñññ┐╞├╝∞ñ╩ PostScript Ñ╫ÑφÑ░ÑΘÑ▀Ñ≤Ñ░╡╗╦íñ≥╗╚═╤ñ╣ñ∞ñ╨íóÑ╫ÑΩÑ≤Ñ┐ RAM ñ╦▒╩╡╫ñ╦Ñ└ѪÑ≤Ñφí╝Ñ╔ñ╣ñδñ│ñ╚ñ¼ñ╟ñ¡ñ▐ñ╣íú
Ñ▐Ñ├Ñ╫Ñ╞í╝Ñ╓Ñδñ╦ÑΩÑ╣Ñ╚ñ╡ñ∞ñ╞ñññ╩ññÑ╒Ñ⌐Ñ≤Ñ╚ñΣÑóÑ»Ñ╗Ñ╣╔╘▓─╟╜ñ╩Ñ╒ÑíÑñÑδñ╦┬╨ñ╣ñδ═╫╡ßñ╧╠╡╗δñ╡ñ∞ñ▐ñ╣íúÑ▐Ñ├Ñ╫Ñ╞í╝Ñ╓Ñδñ¼╞╔ñ▀╣■ñ▀╔╘▓─╟╜ñ╩╛∞╣τñ╧íóñ╣ñ┘ñ╞ñ╬═╫╡ßñ¼╠╡╗δñ╡ñ∞ñ▐ñ╣íú
Ñ┐ÑñÑ╫ 1 Ñ╒Ñ⌐Ñ≤Ñ╚ñ╧íó░╡╜╠(Ñ╨ÑñÑ╩ÑΩ)╖┴╝░(Ñ╡Ñ╒ÑúÑ├Ñ»Ñ╣ .pfb ñ╬Ñ╒ÑíÑñÑδ)ñ½ñ▐ñ┐ñ╧╚≤░╡╜╠(ASCII)╖┴╝░(Ñ╡Ñ╒ÑúÑ├Ñ»Ñ╣ .pfa)ñ╬ñ╔ñ┴ñΘñ½ñ╟ñ╣íúñññ║ñ∞ñ╬╖┴╝░ñ╟ñΓÑ╟í╝Ñ┐ñ╬┬τ╔⌠╩¼ñ╧░┼╣µ▓╜ñ╡ñ∞ñ╞ñññ▐ñ╣íú
download ñ╧íó╜╨╬╧Ñ╒ÑíÑñÑδñ╬░⌡║■├µñ╦Ñ╨ÑñÑ╩ÑΩ╖┴╝░ñ╬Ñ┐ÑñÑ╫ 1 Ñ╒Ñ⌐Ñ≤Ñ╚Ñ╒ÑíÑñÑδñ≥ ASCII ╖┴╝░ñ╦╩╤┤╣ñ╖ñ▐ñ╣íú
└▄┬│ñ╡ñ∞ñ┐ PostScript Ñ╫ÑΩÑ≤Ñ┐ñ╬ ROM ñ▐ñ┐ñ╧Ñ╟ÑúÑ╣Ñ»ñ╬Ñ┐ÑñÑ╫ 1 Ñ╒Ñ⌐Ñ≤Ñ╚ñ╬ÑΩÑ╣Ñ╚ñ╧Ñ╫ÑΩÑ≤Ñ┐ñ╬└╜┬ñ╢╚╝╘ñ╬Ñ╔Ñ¡ÑσÑßÑ≤Ñ╞í╝Ñ╖ÑτÑ≤ñ≥╗▓╛╚ñ╣ñδñ½íóñóñδñññ╧Ñ╒ÑíÑñÑδ /etc/lp/printers/printer-name/residentfonts ñ╬Ñ╟í╝Ñ┐ñ≥╗▓╛╚ñ╖ñ▐ñ╣íúPostScript Ñ╫ÑΩÑ≤Ñ┐ñ¼Ñ╖ÑΩÑóÑδ▓≤└■ñ╟└▄┬│ñ╡ñ∞ñ╞ñññδ╛∞╣τíóÑ╒Ñ⌐Ñ≤Ñ╚ÑΩÑ╣Ñ╚ñ╧ postio Ñ│Ñ▐Ñ≤Ñ╔ñΣíóSVR4.2 ñ½ñΘ│½╗╧▓─╟╜ñ╩ PostScript Ñ╫ÑφÑ░ÑΘÑαñ≥═╤ñññ╞└╕└«ñ╣ñδñ│ñ╚ñΓñ╟ñ¡ñ▐ñ╣(ñ│ñ╬╩²╦íñ╧íóÑ╤ÑΘÑ∞ÑδÑ▌í╝Ñ╚ñ╟└▄┬│ñ╡ñ∞ñ┐ PostScript Ñ╫ÑΩÑ≤Ñ┐ñ╦ñ╧╠╡╕·ñ╟ñ╣)íú
Ñ╖ÑΩÑóÑδ▓≤└■ñ╟└▄┬│ñ╡ñ∞ñ┐ PostScript Ñ╫ÑΩÑ≤Ñ┐ñ╬ ROMÑ╒Ñ⌐Ñ≤Ñ╚ñ╬ÑΩÑ╣Ñ╚ñ≥│═╞└ñ╣ñδñ╦ñ╧íóPostScript Ñ╫ÑΩÑ≤Ñ┐ñ¼└▄┬│ñ╡ñ∞ñ╞ñññδ┴⌡├╓ñ≥│═╞└ñ╖ñ▐ñ╣íú
lpstat -s
PostScript Ñ╫ÑΩÑ≤Ñ┐ prlocal ñ¼Ñ╖ÑΩÑóÑδ▓≤└■ñ╟Ñ╖Ñ╣Ñ╞Ñαñ╦└▄┬│ñ╡ñ∞ñ╞ñññδñ╚ñ╖ñ▐ñ╣íúñ│ñ╬ñ╚ñ¡íó▓╝╡¡ñ╬ñΦñªñ╩╜╨╬╧ñ¼╩╓ñ╡ñ∞ñ▐ñ╣íú
scheduler is running
no system default destination
device for prlocal: /dev/tty01
character set ^D
ñ│ñ∞ñ╧íóÑ╫ÑΩÑ≤Ñ┐ñ¼ ┴⌡├╓ /dev/tty01 ñ╦└▄┬│ñ╡ñ∞ñ╞ñññδñ│ñ╚ñ≥╝¿ñ╖ñ╞ñññ▐ñ╣íúroot ñ½ñΘíó▓╝╡¡ñ╬Ñ│Ñ▐Ñ≤Ñ╔ñ≥╝┬╣╘ñ╖ñ▐ñ╣íú
cd /usr/lib/lp/postscript
postio -L /tmp/postio.o -l /dev/tty01 -t romfonts.ps
romfonts.ps Ñ╫ÑφÑ░ÑΘÑαñ╧íóPostScript Ñ╫ÑΩÑ≤Ñ┐ñ╦╛∩├≤Ñ╒Ñ⌐Ñ≤Ñ╚ñ╬ÑΩÑ╣Ñ╚ñ≥╠Σññ╣τñ∩ñ╗ñδ PostScript Ñ╫ÑφÑ░ÑΘÑαñ╟ñ╣íú╛σ╡¡ñ╬╬πñ╬ prlocal Ñ╫ÑΩÑ≤Ñ┐ñ╟ñ╧íóÑ╒ÑíÑñÑδ /tmp/postio.o ñ╦▓╝╡¡ñ╬ñΦñªñ╩╜╨╬╧ñ¼╩╓ñ╡ñ∞ñ▐ñ╣íú
printer startup %%[ status: waiting; source: serial 25 ]%% %%[ status: endofjob ]%% %%[ status: idle ]%% sending file romfonts.ps waiting for end of job %%[ status: busy; source: serial 25 ]%% /AGaramond-Bold /AGaramond-BoldItalic /AGaramond-Italic /AGaramond-Regular /AvantGarde-Book /AvantGarde-BookOblique /AvantGarde-Demi /AvantGarde-DemiOblique . . . more PostScript font names . . . /ZapfChancery-MediumItalic /ZapfDingbats %%[ status: endofjob ]%% job complete
ñ│ñ╬Ñ╒ÑíÑñÑδñ╧íóÑ╫ÑΩÑ≤Ñ┐ÑßÑΓÑΩ╛σñ╬Ñ╒Ñ⌐Ñ≤Ñ╚╠╛(Ñ╫ÑΩÑ≤Ñ┐ prlocal ñ╦┬╨ñ╣ñδ╛σ╡¡ñ╬╜╨╬╧ñ╬ Garamond-Bold ñ½ñΘ ZapfDingbats ñ▐ñ╟)ñ╬ñ▀ñ╦╩╘╜╕ñ╖ñ╩ñ¬ñ╖íóñ╜ñ╬╖δ▓╠ñ≥Ñ╒ÑíÑñÑδ /etc/lp/printers/prlocal/residentfonts ñ╦╩▌┬╕ñ╣ñδñ╚íóñ│ñ∞ñΘñ╬Ñ╒Ñ⌐Ñ≤Ñ╚ñ¼Ñ█Ñ╣Ñ╚Ñ│Ñ≤Ñ╘Ñσí╝Ñ┐ñ½ñΘÑ└ѪÑ≤Ñφí╝Ñ╔ñ╡ñ∞ñ╩ñ»ñ╩ñΩñ▐ñ╣íú
ñ│ñ╬╠╛┴░ñ╧íóÑóÑ╫ÑΩÑ▒í╝Ñ╖ÑτÑ≤ñ╦ñΦñΩ X Ñ╒Ñ⌐Ñ≤Ñ╚╣╜┬ññ½ñΘ│═╞└ñ╟ñ¡ñ▐ñ╣íú▓╝╡¡ñ╬Ñ│í╝Ñ╔╬πñ╧ñ│ñ╬╡í╣╜ñ≥╝¿ñ╖ñ╞ñññ▐ñ╣íú
#include <stdio.h> #include <Xlib.h>#define false 0
main(int argc, char *argv[]) { Display *display; Atom adobePostScriptFontNameAtom, psfontNameAtom; char *XLFDString; XFontStruct *newFont; char *psfontName;
if (argc > 1) XLFDString = argv[1]; else { fprintf(stderr, "usage: %s XLFDname\n", argv[0]); exit(1); }
display = XOpenDisplay(NULL);
adobePostScriptFontNameAtom = XInternAtom(display, "_ADOBE_POSTSCRIPT_FONTNAME", false);
/* Do some gratuitous error checking... */ if (adobePostScriptFontNameAtom == None) { adobePostScriptFontNameAtom = 0L; /* Some sort of error report - if ATM is in the server, this atom should have been registered at X startup time - unless, of course, ATM is done as a dynamic extension. But then, an atom should have been created anyway. */ }
/* This is the part that actually gets the font name from out of the font. newFont is an (XFontStruct *) as returned by XLoadQueryFont. */ if ((newFont = XLoadQueryFont(display, XLFDString)) == NULL) { fprintf(stderr, "Can't load font %s\n", XLFDString); exit(1); } if (adobePostScriptFontNameAtom) { /* psfontNameAtom is an unsigned long (Atom). */ if (XGetFontProperty(newFont, adobePostScriptFontNameAtom, &psfontNameAtom)) {
/* psfontName is a (char *). According to the X documentation, XGetAtomName is doing the allocating here, and the application is expected to XFree the psfontName when it is done. */
psfontName = XGetAtomName(display, psfontNameAtom); if (psfontName) printf("psfontName=%s\n", psfontName); else { /* ...Error, do something... */ }
/* Do whatever is wanted with the psfontName - store it away, use it in outputting to a file, etc. */ if (psfontName) (void)XFree(psfontName); } else /* XGetFontProperty */ { /* This font didn't come through a path which put the PostScript Type 1 font name into the properties list. Do some sort of backup thing, or error handling... */ } } }
% % The first string is the full PostScript font name. % The second string is the file name - relative to the % host font directory unless it begins with a /. % Bookman-Light bookman/light Bookman-LightItalic bookman/lightitalic Bookman-Demi bookman/demi Bookman-DemiItalic bookman/demiitalic
Adobe TypeSet 2 ÑΩÑ╞í╝ÑδÑ╒Ñ⌐Ñ≤Ñ╚Ñ╤Ñ├Ñ▒í╝Ñ╕ñ╬╞╝╚─Ñ┤Ñ╖Ñ├Ñ»Ñ╒Ñ⌐Ñ≤Ñ╚ñ¼ UnixWare Ñ╟Ñ╣Ñ»Ñ╚Ñ├Ñ╫ñ╟ÑñÑ≤Ñ╣Ñ╚í╝Ñδñ╡ñ∞ñ╞ñññδñ╚ñ╣ñδñ╚íóÑ▐Ñ├Ñ╫Ñ╒ÑíÑñÑδñ╦ñ╧▓╝╡¡ñ╬╞■╬╧ñ¼║ε└«ñ╡ñ∞ñ▐ñ╣íú
Copperplate-ThirtyOneAB /usr/X/lib/fonts/type1/CP31A___.pfa
(╛╩╬¼╗■ñ╬Ñ█Ñ╣Ñ╚ñ╬Ñ╒Ñ⌐Ñ≤Ñ╚Ñ╟ÑúÑ∞Ñ»Ñ╚ÑΩ╞Γñ╬)Ñ╒ÑíÑñÑδ myprinter/map ñ≥Ñ▐Ñ├Ñ╫Ñ╞í╝Ñ╓Ñδñ╚ñ╖ñ╞═╤ñññδñ╚íó▓╝╡¡ñ╬Ñ│Ñ▐Ñ≤Ñ╔ñ≥╚»╣╘ñ╖ñ╞Ñ╒Ñ⌐Ñ≤Ñ╚ñ≥Ñ└ѪÑ≤Ñφí╝Ñ╔ñ╟ñ¡ñ▐ñ╣íú
download -m myprinter/map file
download ѵí╝Ñ╞ÑúÑΩÑ╞Ñúñ╧ %%PageFonts: ├φ╝ßñ≥┴▄ñ╡ñ╩ñññ╬ñ╟íó╞├─ΩÑ╒Ñ⌐Ñ≤Ñ╚ñ≥╩ú┐⌠▓≤Ñ└ѪÑ≤Ñφí╝Ñ╔ñ╡ñ╗ñδ╩²╦íñ╧ñóñΩñ▐ñ╗ñ≤íú