home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Monster Media 1993 #2
/
Image.iso
/
gene
/
ws4paf22.zip
/
WS4PAF22.DOC
next >
Wrap
Text File
|
1993-07-07
|
23KB
|
634 lines
Work Sheet Generator
for
Personal Ancestral File (tm)
by
Frank E. Hutchison
Personal Ancestral File and PAF are registered trademarks of the
Corporation of the President of The Church of Jesus Christ of
Latter-Day Saints. ╔═════════════════════════════════════╗
║ ║
║ Worksheet Generator ║
║ for ║
║ Personal Ancestral File ║
║ (PAF) ║
║ by ║
║ Frank E. Hutchison ║
║ ║
╚═════════════════════════════════════╝
Worksheet Generator for Personal Ancestral File (PAF) is a
program that will create a worksheet for an individual which
contains the information found in a PAF database that relates to
that person. The person's parents, spouse(s), children, their
spouse(s), and grandchild are also shown on the screen, printer, or
a user-designated file. Worksheet Generator works only with PAF
databases containing INDIV2.DAT, MARR2.DAT, NAME2.DAT and
NOTES2.DAT. Other files of PAF are not used nor are GEDCOM files.
Using WS4PAF is a three-part process:
1) Tell the program where the PAF database is located,
2) Tell the program where the output is to go, and
3) Tell the program who the worksheet(s) is about.
STARTING WS4PAF
---------------
To start WS4PAF, type at the prompt either
C:\>WS4PAFxx
or
C:\>WS4PAFxx [location]
where the xx indicates the version number and [location]
indicates the location of the PAF data files, which is optional.
The title screen will appear. If the [location] was not
specified on the command line, then WS4PAF asks
Where is the PAF database located?
1. A:
2. B:
3. C:\PAF\DATA
4. Other
5. Return to System
Menu selection is made by selecting the menu number or using the
up and down arrow keys and hitting the <Enter> key.
The first three choices will encompass probably 90% of the
locations of PAF databases. If yours is not one of the first
three choices, then select option 4. Just below the above menu
will be displayed:
Location of PAF database:
You can type in the path to the database. If it is wrong, an error
message will be displayed and you will be able to try again.
Option 5 will quit the program.
OUTPUT SELECTION
----------------
Now the second menu appears and asks:
What is the location of the output?
1. Screen
2. Printer
3. File
4. Change directory
0. Return to System
1. Screen
----------
Option #1 results in the worksheet being displayed on the screen.
This is best used to see the output BEFORE printing or creating a
file.
2. Printer
-----------
Option #2 results in the worksheet being sent to the printer. The
default printer is assumed to be Epson compatible, however, the
only special control sent to the printer is the command for
compressed print on and off (normally 17 Characters Per Inch
(CPI)).
If you select option #2, then another menu will appear. This
menu allows you to change the way the work sheet will be printed
and adjust the codes for compressed printing if your printer is not
Epson compatible. This menu looks like:
Output to the printer will be:
0. Proceed to print
1. Compressed (toggle) Not compressed
2. Compressed ON printer code \015
3. Compressed OFF printer code \018
4. Top margin 6 lines
5. Bottom margin 6 lines
6. Left margin 0 spaces
7. Right margin 0 spaces
8. Paper height 66 lines
9. Paper width 80 spaces
P. Print notes (toggle) Print notes
S. Save configuration
See Appendix I for details about changing the values shown and
creating new default values. For now, choose the first option,
zero (0), as it should work with a majority of printers.
3. File
--------
Option #3 will result in the creation of a file containing the
worksheet. If you select this option, you will be asked:
Location and name of file:
WS4PAF does check what it is given for a file name and path. If
the file already exists, you will be asked if you want to over
write it. If you do not enter a file name (just hit the Return or
Enter key, without entering any name), then the file will be named
PRINT.DAT and placed in the same directory or subdirectory as
WS4PAF.
4. Change directory
--------------------
Option #4 allows you to return to the previous menu to change the
directory.
0. Return to System
--------------------
The fifth option, zero (0), will end the program and return you to
the system prompt.
This choice will determine of compressed print (17 characters per
inch) is used with printed output. The option without compressed
print will cause the place for each event to be printed on a
separate line.
IDENTIFY STARTING INDIVIDUAL
----------------------------
The third menu asks:
Identify Starting Individual
1. Know RIN
2. Do not know RIN
3. Input File
4. Change Output
0. Return to System
1. Know RIN
------------
Option 1 will ask: Which RIN? Type in the RIN. The RIN you have
entered will be checked, the individual information displayed, and
you will be asked if it's the correct individual. If it is the
correct individual, then WS4PAF will proceed to generate the
worksheet.
2. Do not know RIN
-------------------
Option 2 allows you to find an individual's RIN by entering
information about the individual and then searching the PAF
database for that individual. This is similar to the way PAF finds
an individual when the "Match names and positions during individual
search" option in CONFIG is chosen. Option 2 will display the
following
Individual Search
=================================================================
Surname: Given1: Sex:
Given2: Given3: Title:
-----------------------------------------------------------------
Birth date:
Place1: Place2:
Place3: Place4:
-----------------------------------------------------------------
Christening date:
Place1: Place2:
Place3: Place4:
-----------------------------------------------------------------
Death date:
Place1: Place2:
Place3: Place4:
-----------------------------------------------------------------
Burial date:
Place1: Place2:
Place3: Place4:
=================================================================
You can enter as much or as little information you wish. You can
move around the screen using the Enter, Tab, Shift-Tab, Up and Down
Arrows and end the input by pushing the F1 key to start the search
or the F2 key to quit. This is the same as PAF. Names are checked
when you enter them to insure they are in the NAME2.DAT file.
3. Input File
--------------
Option #3 allows you to access a ASCII file, also called a DOS text
file or a non-document file. WS4PAF will expect one RIN to be on
each line of the file. This RIN will be read and acted upon as if
you typed it in. This is useful when you have a lot of individuals
you want work sheets for. An example of such a file would look
like with three RINs:
516
14
5
^
This is column 1
4. Change Output
-----------------
Option #4 returns you to the previous menu that determined what
mode of output the program would generate.
0. Return to System
--------------------
The fifth option, which is zero (0), will end the program and
return you to the system prompt.
CREATION OF THE WORKSHEET
-------------------------
Now WS4PAF creates the worksheet. An sample is show below. Due to
the limit of 80 columns for a computer screen, some of the lines
have been split. Where the line was split is indicated by the
double asterisks (**). When the printer output (Option #2) is
selected with compressed print, everything from Christening: to the
end of the worksheet is printed in compressed print (17 CPI) as
well as the Birth line. Output to the screen (Option #1) will wrap
the output as necessary.
Sometimes, a line of characters will be too long for your printer
to print on one line. You will notice this when the line is
partially moved to the next line.
TROUBLESHOOTING
---------------
WS4PAF does not have a lot of error trapping built into itself. If
you have a problem with WS4PAF, please try the following
suggestions to solve the problem:
1. Is the printer on? Does it have paper? (WS4PAF should tell
you if these are problems.)
2. Is the directory identified for the PAF database correct?
3. If you are sending a file to disk, is there enough disk space?
If none of the above solves your problem, then please contact the
author (address on the last page) with the following information:
1. Where in the program the problem occurs.
2. A copy of any print out available.
3. A copy of the screen dump (press the Print Screen button with
the printer on).
4. A description of your computer (PC, XT, AT, 386, 486, etc.),
amount of memory, monitor, and video, as well as, your printer
type.
WS4PAF only READS and does not write to PAF files. There should be
no disruption of your PAF data files by WS4PAF. However, it is
good practice to ALWAYS have a back-up of your data whenever you
use a new program and especially after you have added to or changed
any information in your database. Worksheet for John HUTCHISON
RIN: 267 Sex: M ID: 4G91-L8
Birth: 16 Nov 1840 at ____________, Trigg, KY, ____________
Father: William T. HUTCHISON
Mother: Mary Clay DAWSON
Christening: ___ ____ _____ at _______, _______, ________, ________
Death: 12 Jul 1913 at Ochelata, Washington, OK, ____________
Burial: ___ ____ _____ at _______, ________, ________, _________
Spouse: Sarah Ellen WALLACE (**)
marriage date: 5 Oct 1868 at Independence, Jackson, Mo, _________
Child: (M) William HUTCHISON ___ ____ 1870 Independence, (**)
Jackson, Mo,_________
No marriage
Child: (M) Warner HUTCHISON 11 Nov 1872 Independence, (**)
Jackson, Mo, __________
wife: Gertrude PECK (**)
marriage date: 30 Jul 1900 at __________, __________, (**)
__________, __________
grandchild: (**)
(M) John E. HUTCHISON 27 Nov 1901 at Stow, __________, (**)
OH, ____________
grandchild: (**)
(M) Wallace I. HUTCHISON 24 Jan 1905 at Chicago, Cook, (**)
IL, ____________
Child: (F) Marietta HUTCHISON 20 Oct 1873 Independence, (**)
Jackson, Mo, _________
husband: Charles FISHER (**)
marriage date: ___ ____ _____ at __________, __________, (**)
_________, _________
Spouse: Molly ERBY (**)
marriage date: ___ ____ _____ at _________, _________, (**)
_________, __________
Child: (**)
(M) Ralph HUTCHISON ___ ____ _____ at _________, (**)
_________, ________, ________
No marriage
NOTES:
!Descendent chart by Lawrence Hutchison notes U. S. Indian
Marshall, Pahuska, Oklahoma Territory, 1896-1901 APPENDIX I
How to "Configure" WS4PAF
The menu, shown below, that appears whenever output to the
printer is selected, along with the current values of each
parameter, allows the user to change those parameters which affect
how the printout will look on paper. The menu is:
Output to the printer will be:
0. Proceed to print
1. Compressed (toggle) Not compressed
2. Compressed ON printer code \015
3. Compressed OFF printer code \018
4. Top margin 6 lines
5. Bottom margin 6 lines
6. Left margin 0 spaces Not Used Yet!
7. Right margin 0 spaces
8. Paper height 66 lines
9. Paper width 80 spaces
P. Print notes (toggle) Print notes
S. Save configuration
Your printer manual should have an explanation of normal values for
your printer. An explanation of each option on the menu follows:
0. Proceed to print
--------------------
This option tells WS4PAF that you are satisfied with the
current values and to proceed to the next menu, the "Identifying
Starting Individual" menu.
1. Compressed (toggle)
-----------------------
This option is a toggle. Selection of this option will change
from "Compressed" to "Not compressed" and vice versa.
2. Compressed ON printer code
------------------------------
This option allows you to change the codes used by WS4PAF to
start compressed printing. The codes are displayed as their ASCII
equivalents. For example, the ASCII equivalent of the Escape code
(the Esc key on your keyboard) is 27.
You can enter up to five individual codes. When this option
is selected, you will be prompted for each individual code
separately, i.e.
First printer code:
For Epson compatible printers, the code for compressed print is 15.
Therefore, you would enter 1 and 5 followed by <Enter>. Then, you
would be prompted for the second printer code:
Second printer code:
If there was a second code, you would enter it just like you did
for the first printer code. In this case, since there isn't one,
you just hit the <Enter> key, the codes you have entered will be
displayed, and you can make another selection.
3. Compressed OFF printer code
-------------------------------
This option operates exactly like the Compressed ON printer
code, except the codes entered are for turning compressed printing
off.
4. Top margin
--------------
This option allows you to change how many blank lines will be
put at the top of each page. Selection of this option will result
in the prompt:
Number of lines for top margin:
Just enter the number of blank lines you want. Usually 6 lines
equal one inch.
5. Bottom margin
-----------------
This option is the same as the Top margin except it's for the
bottom margin.
6. Left margin
---------------
This option allows you to change how many blank spaces will be
put at the left of each line. Selection of this option will result
in the prompt:
Number of spaces for left margin:
Just enter the number of spaces you desire.
PLEASE NOTE THAT THIS FEATURE IS NOT YET IMPLEMENTED BECAUSE
IT COULD CAUSE RAGGED EDGES ON THE LEFT SIDE OF THE WORKSHEET.
7. Right margin
----------------
This option is the same as the Left margin except it's for the
right margin. THIS OPTION IS IMPLEMENTED.
8. Paper height
----------------
This option allows the user to tell WS4PAF how many lines per
page there are so that WS4PAF will know when to apply the top and
bottom margins. You will be prompted with:
Number of lines for paper height:
Usually there are 66 lines to a page with normal print.
9. Paper width
---------------
This option allows the user to tell WS4PAF how many spaces per
line there are so that WS4PAF will know where to apply the right
margin. You will be prompted with:
Number of spaces for paper width:
Usually there are 80 spaces to a line with normal (pica) print, 96
with elite print, and 136 spaces with compressed print on a eight
inch wide paper.
P. Print notes (toggle)
------------------------
This option is a toggle. Selection of this option will change
from "Print Notes" to "Notes not printed" and vice versa.
S. Save configuration
----------------------
This option will save all the values displayed in a file named
WS4PAF.CFG in the PAF directory that is currently selected.
WS4PAF.CFG is an ASCII file that can be edited using any text
editor or word processor in non-document mode, however, using
WS4PAF will be the easiest way of modifying WS4PAF.CFG.
WS4PAF will look for WS4PAF.CFG once the PAF directory has
been identified. If WS4PAF.CFG is present, then the values will be
read in and replace the default values in WS4PAF. APPENDIX II
Versions of WS4PAF
Version 1.1 differences
Thanks to Don Umberger, who:
- Pointed out a bug in the search routine which has been
corrected.
- Suggested the RIN be added to the worksheet.
- Noted that the search option was similar to PAF ONLY if
the "Match names and positions during individual search"
CONFIG option was selected.
- Suggested the option to print or not to print notes.
Version 1.2 differences
Thanks again to Don Umberger, who:
- Pointed out a bug with the print to file which is
corrected.
- Suggested that the user be notified if the print to file
filename already existed.
Version 1.3 differences
Thanks to Diane Hicks and Ruth Czigan, who:
- Pointed out a bug that introduced a form feed where a
line feed was suppose to be.
Version 1.4 differences
Thanks to Ruth Czigan, who:
- Pointed out that only the first marriage of the children
was shown in earlier versions. All marriages are now
shown.
Version 2.0 differences
- This is almost an entire rewrite of the program. In
particular, this version will:
o Work with monochrome monitors (earlier version
didn't).
o Allows the user to choose between using compressed
print or not. This was requested by those who have a
hard time seeing the small print of 17 CPI. If the
output is without compressed print, then the place of
each event is printed on a separate line.
o Page breaks have been inserted in printer output. At
least six lines will be placed at the top and bottom of
each page.
Version 2.1 differences
Thanks to Dewey Raymond Watkins, who:
- Suggested that the title be displayed if it contains
something.
In addition, version 2.1 has the following improvements:
- Error handling routines for printer not on, out of paper,
etc.
- If first given name is not present, ________________ is
displayed.
Version 2.2 differences
- Soundex code is added to the worksheet.
- User control over formatting added.
- RIN Input file added to identifying starting individual
menuPersonal Ancestral File and PAF are registered trademarks of the
Corporation of the President of The Church of Jesus Christ of
Latter-Day Saints.
All rights to WS4PAF and its accompanying files are reserved.
WS4PAF may be distributed and used only in accordance with the
provisions contained herein. Comments, problem reports and
suggestions for improvements are welcomed and may be sent to:
Address: Frank E. Hutchison
Qtrs D, Mason Row
Yorktown, VA 23690
Phone: (804)887-0290 between 6:00 and 9:00 pm Eastern
Anyone who first reports a problem or suggests an improvement will
receive the first copy of the improved program free.
I also monitor the GENSOFT echo on the Fidonet for messages to
Frank Hutchison. Please note that I do not use my middle initial
and that Hutchison is not HUTCHINSON. Thank you.
REGISTRATION
------------
If you use Worksheet Generator for Personal Ancestral File
(BA4PAF) you are asked to register with me. The cost is FIVE
dollars ($5.00). This will (1) increase my high regard for you,
(2) encourage me to improve the program, (3) allow me to inform you
of improvements, (4) allow me to notify you in the event that a
serious problem with WS4PAF is discovered, and (5) convince my wife
that I'm not just playing with the computer. ╔═════════════════════════════════════╗
║ ║
║ Worksheet Generator ║
║ for ║
║ Personal Ancestral File ║
║ (PAF) ║
║ by ║
║ Frank E. Hutchison ║
║ ║
╚═════════════════════════════════════╝
REGISTRATION FORM
Surname: _____________________ Given1: _____________________
Given2: ______________________ Given3: _____________________
Address1: __________________________________________
Address2: __________________________________________
City: _____________________________________________
State: __________ Zip Code: ________________
Phone: (_____) ________--_______________
How did you find out/acquire Worksheet Generator for Personal
Ancestral File (WS4PAF)?
Comments/Suggestions/Problem Report:
Mail to: Frank E. Hutchison
Qtrs D, Mason Row
Yorktown, VA 23690