FORMATB Version 1.8

COPYRIGHT (C) 1989-2002 Norbert H. Doerry
29 May 2002
	FORMATB is a PostScript Page formatter for printing out 
	ASCII files on a PostScript Printer.  The margins are set up 
	for 1.25 inches on the left and 1 inch on the top and bottom.


	formatb [-option] [-option] [infile] [infile]

	where the legal options are :

		-fXXXXX                 (-fontXXXXX)           
			XXXXX specifies the font to use.  The default font
			is Courier.  Other fonts include:

		-FXXX                   (-FontheightXXX)
			XXX specifies the font height in points.  The
			Default Font height is 12.

		-h                      (-header)
			prints out the name of the input file at the
			left margin and .5 inches from the top
			of every page.

		-lXXX                   (-linesXXX)

			XXX specifies the number of lines per inch.  The
			default number of lines per inch is 6.

		-n                      (-nopage)
			Suppress printing of page numbers
			XXXXX is the name of the file which will
			contain the PostScript commands.  I 
			recommend this filename have a .ps extension.  
			If this option is not specified, output is sent to 
			stdout.  In DOS, use the device name (LPT1, 
			COM1, etc) for XXXXX

		-pXXX                   (-pageXXX)
			XXX specifies the starting page number,  Page
			numbers are printed at the bottom of the
			page .5 inches from the bottom and centered.
			The page number is surrounded by two dashes.
			The default starting page number is 1.

		-s                      (-simple)
			Use simple format for printing page numbers. 
			This elminates the dashes around the page numbers.

		-t                      (-time)                
			Print the time in the upper right corner.

		-wXXX                   (-wrapXXX)
			Wrap line after XXX characters. If XXX
			is not specified, uses 62 characters.  If this
			option is not selected, the lines are not wrapped.
		-? or -help
			prints out a summary of the options

			Does not print any page previous to page XX.

			Does not print any page after page XX.
			infile is any text file.  If the infile name
			is not specified, input is taken from stdin.  If
			more than one infile is specified, they will be
			printed in the order listed.  The page numbering
			will NOT start over between files.


	formatb -h -p34 -fTimes-Roman file.c


	-In UNIX you can send the postscript file directly to the 
	 printer by using the pipe symbol :

		formatb infile | lpr -Pprinter

	- In DOS you would use

		formatb infile -oLPT1

	-In UNIX, If you want line numbers on your file try this:

		cat -n  infile | formatb | lpr -Pprinter


	This program was originally written in April of 1989 under
	the UNIX operating system for printing out source code listings 
	on a PostScript Printer for inclusion in a thesis.
	Programs FORMAT and FORMATA were earlier attempts at the
	same function. FORMATB was adapted for MS-DOS under version 1.5
	in August 1992.

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.