home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Simtel MSDOS 1992 December
/
simtel1292_SIMTEL_1292_Walnut_Creek.iso
/
msdos
/
qbasic
/
qbtree42.arc
/
MAILAB.DOC
< prev
next >
Wrap
Text File
|
1989-10-19
|
4KB
|
66 lines
MAILAB.EXE is a program I decided to write that exploits the
QBTREE42 package. It allows me to print stick 'em labels
with the greatest of ease, anyway I want, anywhere I want.
To start the thing, just C>mailab
The basic screen comes up with a functions bar on top. First
you'll need to create the data and index file.
<Alt> F drops the file window. Use the up/down cursors to
select the subfunction. Do this for both a data
and an index file. I recommend that you use an
extension of .DAT for the data file and .IND for
the index file, both with the same filename prefix.
If you do this, next time you use the program you can
C>mailab names
and it will assume you want names.dat and names.ind.
If not, you can always select another.
To see the current files in use, hit <Enter> on the
SHOW FILES.
The only way to exit the program is at EXIT TO DOS.
<Alt> E will let you add/change/delete records within the
data file. If you have selected ADD KEY/RECORD or
UPDATE RECORD then a new functions bar comes up.
This is to let you compute, manually, the values
for pitch (PIT) and type (TYP). More on these later.
Once the record has been finished, press <Enter> at
the last field or press <Esc> at any field and the
record will be added, or updated.
The editor is used instead of QB's input only to better
track responses, and keep the screen neat. With a little
bit of coding, it can be used in any program. To get to
the next field, press <Enter> or <Tab> or <down-arrow>.
To go back, press <shift-Tab> or <up-arrow>. The other
editing function keys are pretty standard.
<Alt> P drops the print window. Print label will do just that.
Edit printer codes will let you, on the fly, change
printer codes. It's initially set for an IBM printer.
The only things that may be unusual are the \ used to
separate do\undo (14 sets expanded \ 19 undo expanded).
If there is no undo, then do not have a \. Normal ASCII
numbers are used with commas separating them. The LFpt
line is a bit unusual because it contains a variable, n.
n will be replaced for each line (L0 to L9) with the
value in LFpt (Line feed points - a point = 1/72 inch).
On the top line an INCHES: is constantly displayed so you
know how much of the label has been printed on. The last
line entry's LFpt will need to bring the total INCHES: to
the height of the label. Standard labels are 1 inch from
then top of one to the top of the next (72/72 inch).
Do not use any blank lines in the line entries. If you
want to skip a line, just add the appropriate amount
in the LFpts. You need not use all line entries, of course.
The pitch and type format let you mix and match to suit
your needs. Note that mutiple pitches will most likely
be handle by using the highest valued pitch. The types
usually can be combined, e.g., bold superscript.
Take a look at the source for any further details.