home *** CD-ROM | disk | FTP | other *** search
- ***************************************************
- * Formatter *
- * A C Source code printing utility *
- ***************************************************
-
- Note: This program was written by Richard Millican
- and is (c) 1993 Richard Millican. You may not
- freely distribute it without prior written
- permission from the author.
-
- ***************************************************
-
- Introduction
-
- When writing a program it is often useful to be
- able to obtain a hard-copy of the source files.
- This can easily be done with C files as they are
- just standard text files. Just dragging them to the
- printer icon can produce some pretty dull results
- and if there are lots of comments everywhere it
- can get rather confusing. To solve this situation
- I wrote 'Formatter'. This simply takes a C source
- file and produces an Impression DDF file which can
- then be loaded into Impression and printed. In
- addition to this you can specify which fonts to
- use for the standard C parts and which fonts for
- the comment sections.
-
- ***************************************************
-
- Instructions
-
- To convert a source file simply drag the source
- file to the application and click the 'run' icon.
-
- The fonts used can be changed using the icons in
- the dialogue box. The defaults (when the option
- icons are not selected) are to use Corpus.Bold.
- Oblique at 9pt for the comments and Corpus.Medium
- at 9pt for the code. This looks good as Corpus is
- not a proportional font so text lines-up ok on
- each line.
-
- The 'Formatter' program can also be run from the
- command line. The syntax used by the program is as
- follows:
-
- Formatter [switches] <source file> <object file>
-
- switches (names may be abbreviated to 1 letter):
-
- -help display help text
-
- -code <fontname> <size> main code's font
- and size
- -remarks <fontname> <size> comment's font
- and size
-
- ***************************************************
-
- History
-
- Version 1.02 (7/12/93)
-
- Fixed a small bug for strings with /* or */ in, now
- seems to work ok. The code's got a bit more complex
- though ! Needed to check for \' \" \\ etc...
-
-
- Version 1.01 (19/10/93)
-
- Added a snazzy DDE front end. It took ages as the
- DDE modules didn't seem to like what I was doing.
-
-
- Version 1.00 (27/4/93)
-
- First version. No front end. Works OK though.
-
- ***************************************************
-
- If you find the proggy useful please let me know.
- Here's my address if you fancy sending me money,
- blank disks or pizza vouchers...
-
- Richard Millican,
- 10 Stokesay,
- Bidston,
- Birkenhead,
- Merseyside,
- ENGLAND.
- L43 7PU
-
- (e-mail: millinr@cs.man.ac.uk)
-
- ***************************************************
-