Dec 132017
 
Source code printing utility. Prints source code for almost any language like C, Pascal, Dbase, Clipper, FORTRAN, etc. Fully user definable. Higlights comments, keywords, etc. Supports most printers.

Full Description of File


SOURCE Version 1.4, April 22, 1993
Source code printing program. Any language -
C, Pascal, FORTRAN, Clipper, add your own.
Auto print include files. 40+ print options.
Highlights comments, keywords, and blocks.
Page numbers, headers, banners, margins, tab
stops, multi-column, line wrapping. FULLY
user definable. Supports most printers.


File SOURCE14.ZIP from The Programmer’s Corner in
Category Miscellaneous Language Source Code
Source code printing utility. Prints source code for almost any language like C, Pascal, Dbase, Clipper, FORTRAN, etc. Fully user definable. Higlights comments, keywords, etc. Supports most printers.
File Name File Size Zip Size Zip Type
FILE_ID.DIZ 348 253 deflated
README.1ST 6435 2308 deflated
REGISTER.TXT 1160 374 deflated
SOURCE.CFG 3821 1551 deflated
SOURCE.DOC 131009 31050 deflated
SOURCE.EXE 128272 56270 deflated
SOURCE.LNG 21897 6875 deflated
SOURCE.PRT 5614 1274 deflated

Download File SOURCE14.ZIP Here

Contents of the README.1ST file


SOURCE Version 1.4, April 22, 1993
Source code printing program. Any language -
C, Pascal, FORTRAN, Clipper, add your own.
Auto print include files. 40+ print options.
Highlights comments, keywords, and blocks.
Page numbers, headers, banners, margins, tab
stops, multi-column, line wrapping. FULLY
user definable. Supports most printers.

SOURCE

SOURCE Version 1.4 - Source code file printing program
Copyright 1992, 1993 Rick Maddy

1 Distribution

The SOURCE program is made up of these files:

SOURCE.EXE The SOURCE program file.
SOURCE.DOC The main documentation file.
SOURCE.PRT The default printer definition file.
SOURCE.CFG The default configuration option file.
SOURCE.LNG The default language definition file.
README.1ST This file.
REGISTER.TXT Order form to register SOURCE.

The shareware version of SOURCE is distributed as a self-
extracting compressed file. SRCV14.EXE may be passed onto anyone
you choose, provided it remains intact, ALL files are kept
together, and only the original files are distributed. DO NOT
compress and pass on your modified files. If you make any
changes to the SOURCE.PRT or SOURCE.LNG files that you feel would
effect or benefit other users, please send me a copy.

2 What is SOURCE?

SOURCE is a program for printing source code and text files.
However, using SOURCE to its fullest potential gives you an
extremely powerful and flexible program for printing source code
and allows for numerous options for formatting the output.
SOURCE will usually be used to send programming source code to a
printer. I strongly advise you to read SOURCE.DOC to understand
all of SOURCE's capabilities.

3 Quick Start

Before running SOURCE for the first time, make sure you have
placed SOURCE.EXE, SOURCE.PRT, SOURCE.LNG, and SOURCE.CFG all
within the same directory. You may also wish to include this
directory in your path so that you can run SOURCE from anywhere
on your system.

The simplest way to run SOURCE is to type:

SOURCE filename.ext

"SOURCE" is the program SOURCE, and "filename.ext" is the name of
the file you are going to print. You may press the [Esc] key
anytime while a file is being printed to abort SOURCE and stop
the current file from printing. Remember, most printers have a
buffer and the printing will probably not stop immediately.

4 Selecting a Printer

The first time you run SOURCE you will be asked to select your
default printer from the list of initially supported printers.

Page 1


SOURCE

SOURCE supports many common printers, which should cover most of
the printers in use. Pick the printer that matches closest to
the one that you have.

Note: If none of the printers are like yours, select
the "Generic" printer for now. You will still be able
to print files, you just won't be able to take full
advantage of SOURCE's strengths. Later on you'll see
how to modify SOURCE.PRT to take full advantage of your
printer. See SOURCE.DOC for more information on
printer definitions.

This printer should be connected to printer port one, "LPT1:".
If you are using a different port for your printer, see
SOURCE.DOC for information on changing the printer port used by
SOURCE.

5 SOURCE Options

Typing "SOURCE" at the command prompt with no options will give
you a few lines about the general command line syntax. You may
type "SOURCE -?" to see a few screens showing the command line
syntax, what each option is, and the options' current defaults.

What follows is an abbreviated list of the command line options
that SOURCE recognizes. See SOURCE.DOC for a complete listing
and an explanation of each option. All options are case
sensitive, so remember not to run SOURCE with your Caps Lock key
on.


A partial list of SOURCE options:

Option Description

? Help.
b[-] Block Grouping.
c{b|u|i|o|n} Comment Highlighting.
f# Final Line.
F# Final Page.
h# Header Page.
i# Initial Line.
I# Initial Page.
k{b|u|i|o|n} Keyword Highlighting.
l{6|8} Line Spacing.
n[-] Line Numbering.
o{l|p} Page Orientation.
p{p|e|c} Pitch.
s{1|2|3|4} Column Count.
t[#,]# Tab Stop [Start and] Size.
$ Registration Info (if you like it, please register
it).

Remember to read SOURCE.DOC for a complete listing of options.


Page 2


SOURCE

6 Final Notes

The language file as supplied contains, among others, separate
definitions for dBASE and Clipper. Since both languages use the
'.prg' extension, SOURCE may not properly choose the right
definition for you. When you print a '.prg' file, SOURCE will
select the last definition it finds in SOURCE.LNG that has a
'.prg' extension. As supplied, this will be Clipper. If you
only program in dBASE, you have a few options to solve this:

- You could remove the Clipper definition from SOURCE.LNG.
This is not the best because you may need it later.

- You could move the dBASE definition after the Clipper
definition. This would cause SOURCE to use the dBASE
definition over the Clipper definition when it prints a
'.prg' file.

- You could change the defined extension for Clipper to
something other than '.prg'. The downside to this is if
you need to print a Clipper file, you have to do more
work.

- The last option is to use the 'x' command line option to
force SOURCE to use the dBASE definition. Example:

SOURCE -x dbase file.prg

This will make SOURCE use the dBASE definition regardless
of the file's extension and any other definition that uses
the file's extension.

























Page 3




 December 13, 2017  Add comments

 Leave a Reply

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

(required)

(required)