Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!ucbvax!hplabs!hpl-opus!jewett From: jewett@hpl-opus.HP.COM (Bob Jewett) Newsgroups: comp.fonts Subject: Re: Accessing LaserWriter IINT fonts Message-ID: <66190001@hpl-opus.HP.COM> Date: 31 Jul 89 18:53:23 GMT References: <15919@pasteur.Berkeley.EDU> Organization: HP Labs, High Speed Electronics Dept., Palo Alto, CA Lines: 36 > Can someone please tell me how to access all the fonts available on a > LaserWriter II NT? I just had the same question for a (brand new, just out of the box) JetScript/LaserJet combination. I was really irritated that nowhere in the documentation that I had was listed the required names of the fonts. I had the PS Tutorial/Cookbook, and they were of no immediate help either. I ended up writing a short PostScript program to print out the name of each available font in itself. Basically, I did: FontDirectory { pop %get rid of the dictionary leaving the /Fontname key dup % make a copy of the key set_up_font % findfont,scalefont,setfont convert_to_string % make a string fron the dupped key show % print the name of the font in iteslf newline } forall % each font name in FontDirectory It would have been very difficult to do this without the interactive programming mode in PostScript. There is a note in the PS books that some printer environments do not have all potentially available fonts in FontDirectory. > manual states "ITC Zapf Chancery" exists in rom. What would be the > appropriate key to push on the stack before calling 'findfont'? You dummy! It's obviously "/ZapfChancery-MediumItalic". > If you tell me to RTFM, that's fine, just tell me where. The manual I have > (LaserWriter II NT/NTX Owner's Guide) just talks about how to use the > printer with a Mac. Get the PostScript Tutorial/Cookbook and the Language Ref. Man. Bob Jewett