home *** CD-ROM | disk | FTP | other *** search
/ Simtel MSDOS - Coast to Coast / simteldosarchivecoasttocoast2.iso / qbasic / qbtree42.zip / MAILAB.DOC < prev    next >
Text File  |  1989-10-19  |  4KB  |  66 lines

  1.  
  2.         MAILAB.EXE is a program I decided to write that exploits the
  3.         QBTREE42 package.  It allows me to print stick 'em labels
  4.         with the greatest of ease, anyway I want, anywhere I want.
  5.  
  6.         To start the thing, just C>mailab
  7.  
  8.         The basic screen comes up with a functions bar on top.  First
  9.         you'll need to create the data and index file.
  10.  
  11.         <Alt> F   drops the file window.  Use the up/down cursors to
  12.                   select the subfunction.  Do this for both a data
  13.                   and an index file.  I recommend that you use an
  14.                   extension of .DAT for the data file and .IND for
  15.                   the index file, both with the same filename prefix.
  16.                   If you do this, next time you use the program you can
  17.  
  18.                   C>mailab names
  19.  
  20.                   and it will assume you want names.dat and names.ind.
  21.                   If not, you can always select another.
  22.  
  23.                   To see the current files in use, hit <Enter> on the
  24.                   SHOW FILES.
  25.  
  26.                   The only way to exit the program is at EXIT TO DOS.
  27.  
  28.         <Alt> E   will let you add/change/delete records within the
  29.                   data file.  If you have selected ADD KEY/RECORD or
  30.                   UPDATE RECORD then a new functions bar comes up.
  31.                   This is to let you compute, manually, the values
  32.                   for pitch (PIT) and type (TYP).  More on these later.
  33.                   Once the record has been finished, press <Enter> at
  34.                   the last field or press <Esc> at any field and the
  35.                   record will be added, or updated.
  36.                   The editor is used instead of QB's input only to better
  37.                   track responses, and keep the screen neat.  With a little
  38.                   bit of coding, it can be used in any program.  To get to
  39.                   the next field, press <Enter> or <Tab> or <down-arrow>.
  40.                   To go back, press <shift-Tab> or <up-arrow>.  The other
  41.                   editing function keys are pretty standard.
  42.  
  43.         <Alt> P   drops the print window.  Print label will do just that.
  44.                   Edit printer codes will let you, on the fly, change
  45.                   printer codes.  It's initially set for an IBM printer.
  46.                   The only things that may be unusual are the \ used to
  47.                   separate do\undo (14 sets expanded \ 19 undo expanded).
  48.                   If there is no undo, then do not have a \.  Normal ASCII
  49.                   numbers are used with commas separating them.  The LFpt
  50.                   line is a bit unusual because it contains a variable, n.
  51.                   n will be replaced for each line (L0 to L9) with the
  52.                   value in LFpt (Line feed points - a point = 1/72 inch).
  53.                   On the top line an INCHES: is constantly displayed so you
  54.                   know how much of the label has been printed on.  The last
  55.                   line entry's LFpt will need to bring the total INCHES: to
  56.                   the height of the label.  Standard labels are 1 inch from
  57.                   then top of one to the top of the next (72/72 inch).
  58.                   Do not use any blank lines in the line entries.  If you
  59.                   want to skip a line, just add the appropriate amount
  60.                   in the LFpts.  You need not use all line entries, of course.
  61.                   The pitch and type format let you mix and match to suit
  62.                   your needs.  Note that mutiple pitches will most likely
  63.                   be handle by using the highest valued pitch.  The types
  64.                   usually can be combined, e.g., bold superscript.
  65.                   Take a look at the source for any further details.
  66.