[comp.fonts] Accessing LaserWriter IINT fonts

jewett@hpl-opus.HP.COM (Bob Jewett) (08/01/89)

> 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