Dec 112017
 
Function Key template generator and printer for 101 key enhanced keyboards.
File FNTEMPL.ZIP from The Programmer’s Corner in
Category Printer Utilities
Function Key template generator and printer for 101 key enhanced keyboards.
File Name File Size Zip Size Zip Type
FNTEMPL.DOC 4639 1829 deflated
FNTEMPL.EXE 64518 38124 deflated

Download File FNTEMPL.ZIP Here

Contents of the FNTEMPL.DOC file








FNTEMPL.EXE

by

Wayne E. Robinson

70277,131



This program uses adapted versions of MAKEWIND and POPMENU
from the BASWIN2.LIB by Dave Evers as well as FLDEDIT from my
own BASSUB.LIB. This compilation was done with SMALLERR.OBJ
and the /O option which explains the large size of the stand
alone file. Here's hoping that QB 4.0 manages to shed some of
the excess baggage in its stand alones.

FNTEMPL is a program for editing, storing in file form, and
printing a Function Key template for the enhanced 101-key
keyboard. The template consists of upper and lower bars
connected by two side bars. The upper bar is divided into
sections by dotted lines between the function key margins.
Each section contains space for four 10 byte strings. Because
of the length of the template, it is printed in two pieces
which are easily joined with scotch tape. In order to get as
much information as possible into each section with an IBM
printer I utilized the superscript font in compressed mode.
This font is supported by Epson printers as well and by
Okidata using 'Plug and Play'. Beyond this I make no
assurances. If you have another printer which is not
compatible and you want to leave me a message, I would be
willing to include code to support your printer if you can
supply the code to me.

The Main Menu is in a window in the lower left corner of the
screen and is only visible when it is active. The up and down
cursor will scroll throught the menu selections. The Enter key
chooses any selection.

The first choice is Edit FnKeys. When chosen, the menu
disappears and the cursor appears in the left column of the
Fn 1 row. The editor supports insert, delete, backspace,
and the right and left cursor keys. In the insert mode the
cursor is block. The default mode is overtype with a standard
cursor. The insert mode is automatically cancelled as any
field is exited. The individual fields consist of 10 bytes
each and are exited by pressing the Enter key, Tab key, up or
down cursor, or Escape key. All data is entered and stored
regardless of the method of exit. The Escape key, however
exits the Edit FnKey mode as well as the field and returns
to the Main Menu. No data is lost until the program is quit,
the data is cleared, or a template file is loaded. Re-choosing
Edit FnKey will allow you to continue editing.







Edit Title pops up a window with a cursor. The same editing
feature apply here except that the field is 40 bytes long.
This 'title' will be printed on the lower bar of the template.
The 'title' can be changed by re-choosing this mode.

Print Template pops up a window, which informs you that
pressing Alt-Esc will cancel. This will stop the print and
return you to the Main Menu. The editor displays the fields
left to right. When printed they are top to bottom with the
left most field printed on top.

Clear Data removes all edited data from the screen and memory.
There is no prompt if you have not saved the data. This
includes the 'title'. Be careful.

Load File pops up a window with cursor for you to type in a
filename. Paths are supported and an error window will inform
you if the file is not found. Pressing Escape will exit back
to the Main Menu as will entering either a filename or a blank
line.

Save File pops up a window with cursor for you to enter a
filename. This also supports paths. If you are re-saveing a
previously loaded file, be sure to include the correct
complete path and name so as to replace the old file.

Quit to DOS will do just that. Any unsaved data will be lost.

I believe I have debugged completely and have included
sufficient error trapping to prevent problems occuring. If
however, you encounter any difficulties or have ideas to
improve this simple program, leave me a message.


Enjoy,

Wayne



 December 11, 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)