home *** CD-ROM | disk | FTP | other *** search
-
-
- ---------------------------------------------------------------------
- FORMGEN VERSION 1.2
- ---------------------------------------------------------------------
-
-
- FORMGEN is a "Mail-Merge" type program intended to be used in
- conjunction with PC-FILE III (or earlier versions). It interfaces
- with PC-FILE to produce letters with data from your PC-FILE data-
- bases inserted within the body of your letter.
-
- *************************************************************************
- This program may be obtained by sending $20 to
- *************************************************************************
-
- William HT Bailey.
- P.O. Box 29723
- Elkins Park, PA
- 19117-0923
-
- This version of the documentation was written 2/26/85 by:
-
- Bill Peacock
- Bakersfield, CA 93309
-
-
- CONFIGURING THE PROGRAM:
-
- You can control the screen colors and type of printer that you are
- using, if a file named FORMGSET.FRM is present when you startup FORMGEN.
- A sample FORMGSET.FRM file might look like this:
-
- 7,0
- 27,69
- 27,70
-
- If the program finds FORMGSET.FRM on the default drive upon
- startup, then it will read the screens foreground and background colors
- from line 1. In the sample, the 7 specifies a foreground color of
- white and the 0 specifies a background color of black. Lines 2 and 3
- are optional. Line 2 contains the ASCII codes of the string the
- program will send to the printer before printing. Line 3 contains
- the ASCII codes of the string the program will send to the printer
- after printing to turn the printing mode off. In the sample, the 27
- and 69 represents the characters "ESC" and "E". This string sets the
- emphasized mode on EPSON or EPSON code compatible printers. The 27
- and 70 on line 3 represents the characters "ESC" and "F". This string
- turns off the emphasized mode on EPSON code printers. The entries on
- each line must be separated by commas. This file allows you to set
- the configuration codes for your monitor and printer with a simple
- file that you can create with "COPY CON" , with your word processor or
- with FORMGEN itself.
-
-
-
- - 1 -
-
- -
-
- (2)
- SUGGESTION:
-
- Because FORMGEN is a fairly small file, I would suggest that
- you copy the FORMGEN.EXE and the FORMGSET.FRM files to your PC-FILE
- program disk.
-
-
- RUNNING THE PROGRAM:
-
- After loading the program, the main menu looks like this:
-
- 0. EXIT
- 1. CREATE/EDIT A FORM
- 2. OUTPUT A FORM
-
- After you see the Main Menu, choose "CREATE/EDIT" (1.) and the
- program will prompt you with "Which drive has the data? (A,B,C,D):"
- The program requires that the FORMGEN forms (.FRM extensions) AND the
- PC-FILE data-base files both be on the same drive (or sub directory.)
-
- Answer the drive question and you will be shown the names of the
- data-bases on the drive specified under the message "*** DATA FILE".
- Enter the name of the data-base you wish to work with. The program
- will then ask which FORMGEN form file you wish to work with under the
- message "*** FORM FILE" (no extension req.). If you haven't created
- a form yet, hit the enter key and you will get the following.
-
- Ins,Mod,Del,List,Store,Quit, Headers or ? (I,M,D,L,S,Q,H,?)
-
- A more understandable definition of the commands follows:
-
- I - (insert) --- Used to insert lines.
- M - (modify) --- Used to alter line.
- D - (delete) --- Used to delete or remove lines.
- L - (list) ----- Screens 20 lines of the form.
- S - (store) ---- Save file to drive you specified at startup.
- Q - (quit) ----- Returns you to main menu.
- H - (headers) -- Shows the fields and the order of the
- data-base you loaded at startup.
- ? - (question) - Will display 3 screens of instructions.
-
- Type "H" and press "Enter" and you will get a screen of the
- relative number, name and length of the fields that make up the
- data base you called up. Jot these down on a piece of paper (or
- hit upper case/PrtSc and print it) so that you can refer to them
- as you create the form. Otherwise you can execute this "H" option,
- as needed, when you are creating the form.
-
- After you have made your notes, type "M" and press "ENTER".
- The next prompt will be "Line Number:". I would assume that
- you wish to start a new form at line 1, so type "1" and press
- "Enter". This option allows you to modify the initially blank
- lines in the form with the contents of your form. You can exit
- the modify mode, at the end of your form or to correct an error on a
- previous line or to review the headers, by pressing the ESC key.
-
- You will now see " 1> " which is telling you that you can
- begin typing your form at line number 1. If you don't want any
- data on the line, just press "Enter". Note the reverse video box
- in the lower right hand corner of the screen. This little beauty
- tells you which vertical space you are in and is a very good guide
- as to the margins. (continued)
-
- - 2 -
-
- -
-
-
- (3)
-
- If your form is less than 66 lines long, enter a "\" in the
- first column of the last line after your last line.
-
- The Insert (Ins), Delete (Del), Home, End and Destructive
- Backspace (<-) keys are all active.
-
-
- INSERTING DATA FROM YOUR DATA-BASE IN THE FORM:
-
- To insert data from your PC-FILE data disk, all you have to
- do is enter "|" (upper case left hand back slash key) followed by
- the number of the field that you desire to be printed and then "\".
-
- EXAMPLE: |1\
-
- After you have typed this in, the program will show you
- the length of the field.
-
- EXAMPLE: |1\~~~~~~~~~~~
-
- If you are using the information in a structured form, this is
- sufficient. If you are inserting the data in a form letter however,
- this command will generate the number of spaces that the data-base uses
- and will create blank spaces in the line. To prevent this from
- happening, enter the call-up command with a minus sign (-) before the
- field number.
-
- EXAMPLE: |-1\
-
- ----------------------------------------------------------------------
- An example of the CREATE/EDIT screen follows:
-
- 1>
- 2>
- 3> |1\~~~~~~~~~~~~~~~~~ (NAME field)
- 4> |2\~~~~~~~~~~~~~~~~~~~~~~~ (ADDRESS field)
- 5> |-3\~~~~~~~~~~~~~~, |-4\~~~~~ |5\~~~~ (CITY, ST, ZIP fields)
- 6>
- 7>
- 8> Dear |1\~~~~~~~~~~~~~ (NAME field inserted)
- 9>
- 10> Once in a while a rare opportunity to make your hard
- 11> earned dollars work for you comes along. We feel that
- 12> this rare chance has come to |-3\~~~~~~~~~~~~~~~.
- 13>
- 14> Yours Truly,
- 15>
- 16>
- 17> Herman Swartz
- 18> General Manager
- 19>
- 20>\
-
- - 3 -
-
- -
-
-
- (4)
- Note that the CITY field was inserted at the end of the para-
- graph and the CITY, STATE and ZIP fields were all in one line.
- Remember to put the minus sign before the field number if you
- insert a field in the middle of a line.
-
- Note that a "\" was placed as the first character in line 20.
- This tells the program that you are finished with the form and
- that you are ready for the command line. The left hand back slash
- key is just left of the "Z" key below your left little finger. This
- is very important if your form is less that 66 lines. If you forget
- this, the program will produce a full 66 line page on output regard-
- less of the number of lines that you specified when you made the
- form in first place.
-
-
- STORING (SAVING) THE FORM:
-
- Now choose the "S" (Store) command and the program will ask
- you for a name for your form. Name the form using eight or less
- characters and don't worry about an extension. The program will
- automatically add an extension of "FRM" to the name you gave the
- file and will also store it on the drive you specified at startup.
- When this is done, the program will return you to the Main Menu.
-
-
- EDITING A FORM:
-
- To modify, add, or delete lines in your form, just call it
- up in a similar fashion to how you started. At the second screen,
- when the program asks "Name of Form" enter the name of the form
- you wish to work on and press "Enter". You will now get the
- commands line. Enter "L" (List) and you will be asked for the
- line number. Enter "1" and the screen will fill with the first
- 20 lines of your document starting with line #1. To correct or
- change, enter "M" (Modify) and you will be asked again for a line
- number. Screening more than one line at a time allows you to see the
- line in context. If you don't wish to change anything on a line, just
- hit "ENTER". Deleting (D) and Inserting (I) a line (or lines) follows a
- very similar format.
-
- Be very careful when using Insert because it will push anything
- you had on the last line into oblivion. The best thing to do is to
- use List and review the entire document before attempting to insert
- anything.
-
-
-
-
-
- - 4 -
-
- -
-
-
- (5)
- OUTPUTTING (PRINTING) A FORM:
-
- Following the same methods described earlier, follow the prompts
- until you get to the questions regarding the output. The program
- will allow you to "Select" for printout in a manner similar to the
- prompts used in PC-FILE except that Formgen repeats the selection pro-
- cedure on each field. Most of the screen messages in this section
- are easy to follow so you shouldn't have any problems.
-
-
- NOTES:
-
- 1. Forms created with FORMGEN are ASCII files and can be edited
- with your Word Processor. Imbedded printer commands work
- properly but be very careful with the "Call-Up" commands created
- when you made the form in the FORMGEN program originally.
-
- 2. If one of the data fields that you called up in your form is
- empty, the program will append the blank line at the bottom
- of the page. This insures forms of uniform length.
-
- 3. If you need to stop the output for any reason, (ESCAPE key) you
- can re-start printing without starting all over by using the
- sorting options.
-
- 4. If you wish to use a window envelope for your mailing and you
- want the name and address printed on your form to appear in
- the window, you would put the name at line 15, the address at
- line 16 and city-state-zip at line 17.
-
- 5. If you wish to call the program up easily, you can create a
- small batch file called "FG.BAT." The file can easily be
- created from DOS using the "COPY CON:" command. The step-by-
- step procedure would go like this:
-
- a. At the DOS prompt " A> " prompt, type " COPY CON:FG.BAT"
-
- b. Hit "Enter" and the cursor will move down one line.
-
- c. Type "FORMGEN" and hit "Enter" and the cursor will move down
- one more line.
-
- d. Hit the F6 key (or Control Z) and press "Enter."
-
- e. The screen should display the message "One file copied"
-
- Now to call up the FORMGEN program just type "FG" and press
- "Enter" and the program will load. Sure beats typing "FORMGEN"
- every time.
-
-
-
- - 5 -