c2ps - C/C++ to Postscript Converter

[ Technion] [ Mirror at GeoCities.com]
[c2ps 4.0 New Features] [Features] [Download] [Usage] [Examples]

c2ps 4.0

  • partial code preprocessing
  • densified function index
  • non-latin font support
  • fresh bugs

  • 1-up, 2-up or 4-up
  • paper supported
    A4, Letter
  • different fonts for C/C++ constructs
    default, comments, keywords, line numbers,
    preprocessor directives, strings,
    types, function id's
  • changeable font size
  • spacing between lines
  • comment dimming (from black to white)
  • function id highlighting
    underline, box, none
  • adjusted multiple line comment printing
  • multiple file printing
  • highlighting according to file extension
  • ISO 8859-1 (ISO Latin 1) support
  • extended set of keywords (refer to ISO/ANSI C++ Draft)
  • index of locally defined functions
  • function on entering and leaving a column
  • tab -> spaces convertion
  • wrapped/cut long lines
  • max number of lines per page
  • header with file's last modification (printing) date
  • line and page numbers
  • output file specification

c2ps-4.0

Miscellany


Usage

    Usage: c2ps  [ -?h124abceikmnruvwx ] [ -F default_font   ] [ -C comment_font  ]
                 [ -K keyword_font     ] [ -N lnumber_font   ] [ -P preproc_font  ]
                 [ -S string_font      ] [ -T type_font      ] [ -U function_font ]
                 [ -X nonlatin_font    ] [ -d dim_comments   ] [ -f fontsize      ]
                 [ -l lines            ] [ -o output_file    ] [ -p paper         ]
                 [ -s space            ] [ -t tabsize        ] [ -_ fun_highlight ]
                 [ -DPREPROC_VAR ...   ] [ -UPREPROC_VAR ... ] [ file ... ]
	

Examples


Questions, comments ? Email me.
Copyright © 1995-1997 Dmitri Shtilman, Dmitri Makarov


Postscipt is a registered Trademark of Adobe Systems Inc.
OS/2 is a registered Trademark of International Business Machines Corp.