Copyright: Copyright Jim Davis 1993


Contents

Main Window	Description of main window items
List Box Options	Description of main window list box
Print Initiation	How to begin printing
Drag and Drop	Dropped file behavior
Befit2.ini	Initialization file
Limitations	Size limitations
Installation	How to install Befit

Menu

File Open	Loads a file into memory
File Close	Deletes a file or clip from memory
File Layout Page	Change parameters dialog
File Setup Printer	Change paper size
Edit Paste Over	Load clipboard text
Font Title	Change title font dialog
Font Body	Change body font dialog


Installation
Befit Installation

Befit2 consists of 3 files :
befit2.exe 	Windows 3.1 program
befit2.ini 	init file (optional)
befit2.hlp 	this help file (optional)

The 3 files should all be in the same directory.
Place the files on your hard disk, and add Befit to a Program Manager group.
For instance, drag befit2.exe from File Manager into Program Manager.

Befit2.zip is the upgrade/replacement of befit1.zip


Befit2.ini

Edit this file with any ascii editor to personalize Befit.
All of the parameters in the  File Layout Pagedialog can be customized.
Change only the numbers between the '=' and ';' characters.
For check boxes, 1==ON and 0==OFF.

You can also pre-set the Title and Body fonts.


File Open
File -- Open

This presents a file selection dialog box, and optionally loads a file into memory, replacing any text currently in befit's memory.
Maximum text line length is 512.

Tab Sizemust first be correctly set, if the file contains tab characters.


File Close
File -- Close

Deletes the current file or clip text from befit's memory.

When no text is loaded, the main window hides the List Box Options and the Print Button.


Layout Page
File -- Layout Page

Tab Size	Spaces per tab character
Right Margin	Inches indented from printable edge
Proportional Tabs	Approximate fixed font tabs
PT Lead Spaces	Integer spaces left of Proportional Tab
Horizontal Pad Chars	Integer added to maximum line width
Minimum Points	Min body points when printing dropped files
Top Margin	Inches indented from printable edge
Print Title	Toggles title above Top Margin
Points Title	Point size of title, limited by Top Margin

WARNING : Version 2 does not trap mal-formed numbers in the above edit-boxes.
Carefully enter nice numbers !


File Setup Printer
File -- Setup Printer

This menu item calls the setup dialog of your current printer.
Use this dialog to set Paper Size.
Printed page orientation is set "on the fly",
by the current selection amoung the 6 main window buttons.


Edit Paste Over
Edit -- Paste Over

If the Windows clipboard contains text, it is loaded into memory, replacing any text currently in befit memory.

Tab Sizemust first be correctly set, if the loaded text contains tab characters.


Font Title
Font -- Title

This menu item calls a dialog to change font of the title line.
Choose only scalable fonts, avoid fixed screen fonts.
Title font size is set via  Points Title


Font Body
Font -- Body

This dialog selects the font for the main body of text.
Choose only scalable fonts, avoid the system screen fonts.
Size of the body font is selected in the main window list box.
List Box Options


Tab Size
File -- Layout Page

Tab Size

The number of spaces that a tab character represents.
For instance, files from Windows Notepad have Tab Size 8.
Edit  Befit2.inito pre-set your favorite tab size.

This number must be correctly set before loading text with either  :
File Open
Edit Paste Over


Right Margin
File -- Layout Page

Right Margin

This number is in inches, with a decimal point.
It is the distance from the printable page edge, not from the edge of the paper.


Proportional Tabs
File -- Layout Page

Proportional Tabs

This feature, if enabled by its check box, cheerfully attempts left-align tabbed text printed with proportional fonts.

Text that :
-   occurs at a multiple of Tab Size
-   and is preceded by the specified number of "PT Lead Spaces",
is left justified based on the font's average character width.

More often than not, this will line up the comments in C program source, which were tabbed into place in a fixed font editor.

However, beware flocks of uppercase letters !


Horizontal Pad Chars
File -- Layout Page

Horizontal Pad Chars

This adjustment integer is added to the text maximum line width, before calculating the body maximum character size.

It can be positive, zero, or negative : [-49...99]

If positive, it reduces the body max points, providing a margin of safety against lines with many proportional uppercase letters.

A negative pad number will enlarge the maximum font size,
but if printed at max size, makes right truncated lines probable.


Minimum Points
File -- Layout Page

Minimum Points

This is requested minimum body point size, used to automatically select amoung several page/point options, when several dropped files are automatically printed.

Befit "points" measure line spacing rather than character height.
Drag and Drop


Top Margin
File -- Layout Page

Top Margin

These are entered as inches with a decimal point.
This is the distance from the printable edge,  not from the paper edge.
If the title line is enabled, the title prints above this margin.
For example,  an 18 point title requires at least a .25 Top Margin.
Points Title


Points Title
File -- Layout Page

Points Title

The Print Title check box enables a page-top title line :
Date-Stamp   Path  PageNum/TotPages

If enabled, the vertical size of the title is the minimum of Points Title and Top Margin.
So a 36 point title requires a .5 inch Top Margin.
Top Margin


Limitations

File size is limited by available Global memory.
Number of lines is limited to 64K.
Maximum line length, after tab expansion, is 512 .

The main window is not keyboard - tab operable.
Your printer driver must support the "ExtDeviceMode" function.


List Box Options
Main Window List Box Options

The list box displays only when text is loaded.
It details 4 numbers for each print option :
pgs  	total pages
pts  	body point size
lpp  	lines per page column
x%   	percent used horizontal

Printing is initiated by either :

-  selecting a list option and clicking the Print button
-  double clicking a list option
-  dropping several files


Drag and Drop

Befit is a Drag and Drop client.
Files dragged from a D&D server, such as the Windows File Manager, can be dropped onto the Befit main window or minimized icon.

Dropping several files will initiate automatic printing ,
per the current orientation-column button and :
Minimum Points
File Layout Page

Dropping a single file in a Befit main window, loads the file without printing.


Main Window
Main Window Items

There are six "radio-like" buttons at the upper left.
The selected one sets page orientation and number of columns.

Also shown in the main window :
The name of the Title Font  (if Print Title is enabled)
The name of the Body Font
Tab Size (as a reminder to set before loading text)

If text is loaded,  Befit also displays :
File Name , Lines, Maxlen ,
the Print Button, and the options list box.
List Box Options