home *** CD-ROM | disk | FTP | other *** search
- /*
- * This program is a utility for printing C programs with
- * pagination, expanded tabs, and emboldened C and C++ keywords.
- *
- * USAGE :
- * cprint [<options>][<filenames>]
- *
- * Valid options are:
- *
- * -C : enable C++ support
- * -noh: disables header printing.
- * -nok: disables keyword emboldening.
- * -nop: disables pagination.
- * -s : sets -132, -i 20, and -w 108. Suitable for notebooks.
- * -p #: Sets page length to #. Default is 66.
- * -l : use Near Letter Quality printing instead of Draft printing
- * -132: use compressed mode.
- * -i #: indent each line by # spaces
- * -? : prints usage line
- * -x #: Sets tab expansion size to #. Default is 4.
- * -w #: Sets line width to # characters. Default is 80.
- *
- * NOTE: If no filenames are given, the input defaults to stdin.
- *
- * The follwing are defaults:
- * Use draft print mode.
- * Tab stops are set every 4 spaces.
- * Page length is 66.
- * Stdin is the input.
- *
- * Copyright 1988,1989 Barry Locklear
- *
- * The author grants the privilege of redistributing this
- * software as long as no charge is made for the software and
- * this file is included with the executable.
- *
- * Fred Fish has explicit permission to include this program in his
- * collection if he so desires.
- *
- * If you have any comments, you can send them to:
- *
- * Compuserve: 76327,2102
- * Genie: L.B.LOCKLEAR
- * BIX: blocklear
- * Usenet: lbl@sf.att.com or attunix!lbl
- *
- * This version of cprint written using Lattice C v5.02 development system
- *
- * Version history:
- *
- * Version 1.3 - 11/13/89 - added C++ keyword support
- * Version 1.2 - 9/22/89 - added wildcard recognition
- * Version 1.1 - 2/ 1/89 - ported to AMIGA and added ANSI printer codes
- * Version 1.0 - 3/ 6/88 - original version.
- */
-
- Known bugs:
-
- 1) The printer driver, at least for my deskjet, doesn't seem to recognize
- the escape sequences for NLQ enable/disable. You'll just have to
- implement this feature manually.
-