home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.os.ms-windows.apps
- Path: sparky!uunet!charon.amdahl.com!pacbell.com!decwrl!pa.dec.com!engage.pko.dec.com!NCDEL.DEC.COM!ssmith
- From: ssmith@NCDEL.DEC.COM (Sheldon E. Smith)
- Subject: Re: Print all Win3.1 fonts utility?
- Message-ID: <1993Jan27.054144.9996@engage.pko.dec.com>
- Sender: newsdaemon@engage.pko.dec.com (USENET News Daemon)
- Organization: Digital Equipment Corporation
- References: <727713097snx@tixel.mv.com> <1k3cmuINN6f8@unidui.uni-duisburg.de>
- Date: Wed, 27 Jan 1993 04:33:28 GMT
- Lines: 25
-
-
- The request was made for a program to print the all the fonts in W4W. I'd
- looked around in the past and didn't quickly find anything, so I wrote a simple
- macro myself. I'll leave it to you to figure out how to add it. 8^)
-
- Make a new document and run this. Then print it.
-
- Sub MAIN
- For COUNT=1 To CountFonts() 'Step through each font on the system.
- NAME$=Font$(COUNT) 'Get the name first.
-
- Font NAME$, 18 'Change to the desired family, and
- Insert "AaBcCcXxYyZz0123$*?" put in representative sample text.
-
- Font "Arial", 10 'Switch back to something known to be legible,
- Insert " " + NAME$ 'and record which family it is.
- InsertPara 'Finally complete the line.
- Next
- End Sub
- ------------------------------------------------------------------------------
- Sheldon E. Smith !Email:
- Digital Equipment Corporation ! ssmith%ncdel.enet.dec@decwrl.dec.com
- Minneapolis, Minnesota ! ...!decwrl!ncdel.enet.dec.com!ssmith
- ==============================================================================
- Vote for Picard & Riker in '96
-