home *** CD-ROM | disk | FTP | other *** search
/ HomeWare 14 / HOMEWARE14.bin / database / ddf606a.arj / HELPDOC.EXE / PRNLLL.HLP < prev   
Text File  |  1994-03-05  |  36KB  |  720 lines

  1.       ╒═══════════════════════════════════════════════════════════════════╕
  2.       │                Printing Labels, Letters and Lists                 │
  3.       ╘═══════════════════════════════════════════════════════════════════╛
  4.  
  5.       In order to print, a database must first be selected. See "Getting
  6.       Started" in the on-line documentation. A Filter and/or Index may also
  7.       be set. See "Creating a Filter" and "Creating/Selecting Index Files"
  8.       in the on-line documentation.
  9.  
  10.       To start, select "Print Labels/Letters/Lists" in the main menu. A
  11.       sub-menu will then appear with selections A through N. Some are not
  12.       always available depending on the template type specified with
  13.       selection "C) Select Template Type: XXXXXX".
  14.  
  15.  
  16.       A) Template: nnnnnnnn      cc/ttt
  17.       ─────────────────────────────────────────────────────────────────────
  18.       This selection will allow you to edit the name of the template. The
  19.       "nnnnnnnn" is the name of the template that can be edited. Two or
  20.       more templates can have the same name. The "cc" represents the
  21.       current template number. The "ttt" represents the total number of
  22.       templates available. To move from one template to another press
  23.       <PgUp>, <PgDn> or <Alt-L>.
  24.  
  25.       What is a Template?
  26.  
  27.       Templates allow you to custom design your printout. Field macros are
  28.       placed in templates to represent field data when printing. A template
  29.       can contain your own text such as "See inside for special offer!",
  30.       macros such as {LAST} for "last name" which represents field content
  31.       from fields in your record(s), printer macros for enhancing text and
  32.       special macros for other purposes. These macros are sometimes
  33.       referred to as merge codes. Macros are explained in more detail later
  34.       in this section.
  35.  
  36.  
  37.       B) Edit/Add/Delete Templates
  38.       ─────────────────────────────────────────────────────────────────────
  39.       This selection will present another sub-menu allowing you to select
  40.       "Edit", "Add", "Delete", or "Import".
  41.  
  42.           A) Edit ─────────────────────────────────────────────────────────
  43.  
  44.           This selection will allow you to edit the current template. The
  45.           editing commands are the same as for memo fields. See "Edit Memo
  46.           Fields" in "Editing and Adding Records" in the on-line
  47.           documentation. Instruction for "Filling in a Template" will
  48.           follow later in this section.
  49.  
  50.           B) Add ──────────────────────────────────────────────────────────
  51.  
  52.           This selection will add a blank template record. A template
  53.           record consists of the template settings (explained later in this
  54.           section) and the template itself. Also when adding a new template
  55.           the current template is copied over to the new one. This would be
  56.           useful if you wanted to make another template simular to an
  57.           existing one but did not want to re-type it all. Simply go to
  58.           that template before executing this command.
  59.  
  60.           C) Delete ───────────────────────────────────────────────────────
  61.  
  62.           This selection will delete the current template. Before deleting,
  63.           you will be asked "Are you sure?" to safe-guard against
  64.           accidental erasure.
  65.  
  66.           D) Import ───────────────────────────────────────────────────────
  67.  
  68.           This selection will present a list of files from the current
  69.           directory. They are sorted on file name extension. Selecting any
  70.           file will replace the current template with the file. The
  71.           selected file must be less than 64,000 bytes in size and not
  72.           currently in use. If you are upgrading from DDLabel, you can
  73.           import the LBL (label), LTR (letter), and LST (master list) files
  74.           (templates) eliminating the need to retype them into the new
  75.           templates. If a template is imported, it only needs to be
  76.           imported one time and not every time it is selected.
  77.  
  78.  
  79.       C) Select Template Type: XXXXXX
  80.       ─────────────────────────────────────────────────────────────────────
  81.       This selection allows you to select the type of template you wish it
  82.       to be. The three choices are Letter, Label, or List. Selections "E"
  83.       through "L" will change depending on the type of template.
  84.  
  85.  
  86.       D) Labels across
  87.       ─────────────────────────────────────────────────────────────────────
  88.       This selection will appear only for Label templates. You can answer 1
  89.       to 9 to print up to 9 labels across.
  90.  
  91.  
  92.       E) Spaces between labels
  93.       ─────────────────────────────────────────────────────────────────────
  94.       This selection will appear only for Label templates if printing more
  95.       than 1 label across. This defines the number of spaces between each
  96.       label. The actual width in inches will depend on the pitch your
  97.       printer is set at i.e. if your printer is set to pica you will be
  98.       printing 10 characters per inch (cpi).
  99.  
  100.  
  101.       F) Label width in spaces
  102.       ─────────────────────────────────────────────────────────────────────
  103.       This selection will appear only for Label templates. This defines the
  104.       width in spaces of the labels being used. The label width is going to
  105.       vary depending on the pitch or cpi (characters per inch) used. If the
  106.       label being used is 3 1/2 inches wide, the label width in spaces will
  107.       be as follows:
  108.  
  109.  
  110.            USING THIS PITCH          CHARACTERS PER 3.5 INCHES
  111.  
  112.            Pica (10 cpi)             10 X 3.5 = 35
  113.            Elite (12 cpi)            12 X 3.5 = 42
  114.            Condensed (17 cpi)        17 X 3.5 = 59.5 (60)
  115.  
  116.  
  117.       G) Lines per label
  118.       ─────────────────────────────────────────────────────────────────────
  119.       This selection will appear only for Label templates. This defines the
  120.       number of lines to make each label.
  121.  
  122.       Example: If you are using 1" or 15/16" high labels, this should be
  123.       set to 6 regardless of how many printable lines are in the template.
  124.       This is assuming that your printer is set to printing 6 lines per
  125.       inch which is the default setting for most printers.
  126.  
  127.       If you specify a number less than the number of printable lines in
  128.       the template file you will be notified that this setting "Must be at
  129.       least ----> X", where X is the number of printable lines in the
  130.       template. This does not include the non-printable lines in the
  131.       beginning of the template that are preceded with the "*" character or
  132.       are left blank.
  133.  
  134.       IMPORTANT:  Laser labels are NOT the same as copier labels.  Laser
  135.       labels have a top and bottom margin of approximately 1/2".  This is
  136.       because laser printers can only print 10" on a page.  Copy labels use
  137.       the full 11" on a page.
  138.  
  139.       The maximum allowable number of printable lines in a label template
  140.       is 20 if printing 2 or more labels across. This should impose no
  141.       problem since a label over 20 lines is rare. To go over 20 lines per
  142.       label, print only 1 across.
  143.  
  144.  
  145.       G) Lines per record
  146.       ─────────────────────────────────────────────────────────────────────
  147.       This selection will appear only for List templates and works the same
  148.       as it does for labels.
  149.  
  150.  
  151.       H) Sheet Feeder? (Y/N)
  152.       ─────────────────────────────────────────────────────────────────────
  153.       This selection will appear only for Label and List templates. If you
  154.       are using a single sheet feed printer such as a laser printer as
  155.       apposed to a continuous forms printer, select Yes for this option.
  156.       You can use this feature on continuous paper if you would like to
  157.       customize your printout.
  158.  
  159.  
  160.       I) Skip lines top of page
  161.       ─────────────────────────────────────────────────────────────────────
  162.       This selection will appear only if answering Yes to "Sheet Feeder?".
  163.       One purpose of this would be to properly align a sheet of labels to
  164.       start printing on the right line.
  165.  
  166.  
  167.       J) Labels per page
  168.       ─────────────────────────────────────────────────────────────────────
  169.       This selection will appear only for Label templates and only if
  170.       answering Yes to "Sheet Feeder?". This command is needed to properly
  171.       eject the page after printing the specified number of labels. If you
  172.       are using, for example, 2-across by 10 down labels (20 labels per
  173.       page) then this number should be set to 20 to use all 20 labels on
  174.       the page.
  175.  
  176.  
  177.       J) Records per page
  178.       ─────────────────────────────────────────────────────────────────────
  179.       This selection will appear only for List templates and only if
  180.       answering Yes to "Sheet Feeder?". If, for example, your master list
  181.       template uses three lines per record and your paper is 8 1/2" x 11"
  182.       (66 lines) then this could be set to 20 and still have 3 lines at the
  183.       top and bottom of each page.
  184.  
  185.  
  186.       K) 1 or X for each record
  187.       ─────────────────────────────────────────────────────────────────────
  188.       This selection will appear only for Label templates and only if
  189.       printing more than 1 label across. The X is the number of labels
  190.       being printed across. This command will print one row of labels from
  191.       the same record with the next row of labels from the next record and
  192.       so on with each row of labels (up to 9-across) all being the same
  193.       record.
  194.  
  195.  
  196.       L) Print All/Part of Database
  197.       ─────────────────────────────────────────────────────────────────────
  198.       This selection will allow you to print all or part of the records in
  199.       the database. If the record pointer is at the beginning of the file,
  200.       all records will be printed. If the record pointer is somewhere
  201.       between the beginning and the end of the database, only the records
  202.       from that position to the end of the database will be printed.
  203.  
  204.       The "Start at first record" selection in the next sub-menu will allow
  205.       you to move the record pointer to the first record in the database if
  206.       iit is not already there.
  207.  
  208.       Filters are often used while printing to be able to print only the
  209.       records meeting the specifications set forth in the Filter. See
  210.       "Creating a Filter" in the on-line documentation.
  211.  
  212.       Index files are often used while printing to be able to print the
  213.       records in the order of the Controlling Index file. If, for example,
  214.       the Controlling Index file was indexed on "last name", the records
  215.       will be printed in order of "last name". See "Creating/Selecting
  216.       Index Files" in the on-line documentation.
  217.  
  218.       Prior to printing labels with this command, the next command should
  219.       be used first to assure proper alignment of the labels or fields
  220.       before printing the database. A good test would be to print 3 rows of
  221.       labels or 3 records if printing a master list or 1 letter if printing
  222.       letters.
  223.  
  224.  
  225.       M) Print Only Current Record
  226.       ─────────────────────────────────────────────────────────────────────
  227.       This selection will allow you to print more than 1 label, letter, or
  228.       list entry for any one record. Enter the "Quantity to print" and
  229.       press <Enter>.
  230.  
  231.       ─────────────────────────────────────────────────────────────────────
  232.       Before the printing begins, another sub-menu will appear with the
  233.       following commands:
  234.  
  235.                        A) Print Labels/Letters/Lists
  236.                        B) Zip Bulk Labels
  237.                        C) Zip+4 Bulk Labels
  238.                        D) Carrier Route Bulk Labels
  239.                        E) Set Printer
  240.                        F) Start at first record
  241.                        G) Print every Nth record
  242.                        H) Pause every Nth record
  243.                        I) Display count? (Y/N)
  244.  
  245.  
  246.       A) Print Labels/Letters/Lists
  247.       ─────────────────────────────────────────────────────────────────────
  248.       Make this selection when ready to start printing. If you want to
  249.       print Bulk labels, see the next three selections in this sub-menu.
  250.       Select this command after first verifying the other selections in
  251.       this sub-menu from E) to I).
  252.  
  253.       If printing a Master List, a "header" will print on the first page
  254.       stating the name of the database and Today's date. You may also want
  255.       to note any Filter that was set or index file that was active at the
  256.       time the list was printed.
  257.  
  258.  
  259.       B) Zip Bulk Labels
  260.       ─────────────────────────────────────────────────────────────────────
  261.       This selection will appear only for Label templates if the database
  262.       is indexed on the zip code as the primary index key and "1 or X for
  263.       each record" is set to 1.
  264.  
  265.       If you have a field assigned as the carrier route field and the
  266.       secondary index field is the carrier route field, you will be asked
  267.       if you want to include qualifying carrier route records and/or
  268.       non-qualifying carrier route records in the mailing.
  269.  
  270.       If your zip code field length is 10 or 12 characters in length, you
  271.       will be asked if you want to include records with a 9 or 11 digit zip
  272.       code.
  273.  
  274.       You will also be asked if you want to:
  275.  
  276.                           A) Sort for 3rd Class
  277.                           B) Sort for 2nd Class
  278.                    
  279.       The only difference between 3rd class and 2nd class is that 3rd class
  280.       is sorted in groups of 10 or more qualifying pieces and 2nd class is
  281.       sorted in groups of 6 or more qualifying pieces.
  282.       
  283.       Qualifying 5-digit pieces are printed first. The "|" character will
  284.       be printed on the right margin of the first three lines of a label
  285.       whenever the zip code changes.
  286.  
  287.       After all qualifying 5-digit pieces are printed, qualifying 3-digit
  288.       pieces are printed. These are comprised of all the records that did
  289.       not qualify as a 5-digit zip code but do qualify as a 3-digit zip
  290.       code (first 3 digits of the zip code are the same). For these labels,
  291.       the "*" is printed at the right margin of the first three lines of
  292.       the label whenever the first 3 digits of the zip code changes.
  293.  
  294.       After all qualifying 3-digit pieces are printed, qualifying State
  295.       pieces are printed. These are comprised of all the records that did
  296.       not qualify for 5-digit or 3-digit but do qualify for a State. For
  297.       these labels, the "#" is printed at the right margin of the first
  298.       three lines of the label whenever the State changes.
  299.  
  300.       After all qualifying State pieces are printed, Mixed State pieces are
  301.       printed. These are comprised of all the records that did not qualify
  302.       as 5-digit, 3-digit, or State. No character is printed in the right
  303.       margin of these labels.
  304.  
  305.       The "right margin" mentioned above is the label width i.e. if the
  306.       label width in spaces is set to 35, the zip code or state change
  307.       character (|, *, or #) will be printed in the 35th column on the
  308.       label. Below is a sample with the "|" printed in the 35th column.
  309.  
  310.                ┌─────────────────────────────────────────┐
  311.                │   Mrs. Jane Smith                   |   │
  312.                │   123 Main Street                   |   │
  313.                │   Anytown, ST 77777                 |   │
  314.                └─────────────────────────────────────────┘
  315.  
  316.       The quantities of labels for each zip code is given in the Zip Code
  317.       Report along with totals on 3-digit zip codes and states.
  318.  
  319.  
  320.       C) Zip+4 Bulk Labels
  321.       ─────────────────────────────────────────────────────────────────────
  322.       This selection works the same as the "Zip Bulk Labels" above except
  323.       that only records with a zip+4 zip code will be printed. The assigned
  324.       zip code field will need to be 10 or 12 characters in length.
  325.  
  326.       If the assigned zip code is 12 characters in length or you have
  327.       another 2 character field assigned as the Delivery Point field, you
  328.       are asked if you want to include records with 9 digit zip codes.
  329.  
  330.       You will also be asked if you want to:
  331.  
  332.                           A) Sort for 3rd Class
  333.                           B) Sort for 2nd Class
  334.                    
  335.       The only difference between 3rd class and 2nd class is that 3rd class
  336.       is sorted in groups of 10 or more qualifying pieces and 2nd class is
  337.       sorted in groups of 6 or more qualifying pieces.
  338.       
  339.       If you have a field assigned as the carrier route field and the
  340.       secondary index field is the assigned carrier route field, you will
  341.       be asked if you want to include qualifying carrier route records
  342.       and/or non-qualifying carrier route records in the mailing.
  343.  
  344.  
  345.       D) Carrier Route Bulk Labels
  346.       ─────────────────────────────────────────────────────────────────────
  347.       This selection is different from the Zip and Zip+4 Bulk Labels
  348.       selections in that only records with a carrier route are included.
  349.       The secondary index field must be the assigned carrier route field.
  350.       You will be asked if you want to include non-qualifying carrier route
  351.       records in the mailing.
  352.  
  353.       Qualifying carrier route pieces are printed first. These are
  354.       comprised of 10 or more records from any zip code with the same
  355.       carrier route. The "|" character will be printed on the right margin
  356.       of the 2nd and 3rd lines of a label whenever the route changes.
  357.  
  358.       If you answered Yes to printing non-qualifying carrier route records,
  359.       they will be prined after all qualifying carrier route pieces are
  360.       printed. For these labels, the "*" is printed at the right margin of
  361.       the 2nd and 3rd lines of the label whenever the first 3 digits of the
  362.       zip code changes.
  363.  
  364.  
  365.       E) Set Printer
  366.       ─────────────────────────────────────────────────────────────────────
  367.       If a printer has been installed, this selection will allow you to set
  368.       your printer before printing Labels, Letters or Lists. See "General
  369.       Setup" in the on-line documentation for instruction on installing and
  370.       selecting printer. These same printer commands could be put in your
  371.       templates as printer macros, however this is not recommended for some
  372.       printer commands. For example, the code for setting the printer to
  373.       landscape mode (laser printers only) would only need to be set once
  374.       before printing. Unless the printing type or style needs to be
  375.       changed from one line to the next, it is best to use this command to
  376.       set the printer instead of using printer macros in the template.
  377.  
  378.       After selecting a printer command the following box will open:
  379.  
  380.       Direct output to: ───────────────────────────────────────────────────
  381.  
  382.       See Appendix B in the on-line documentation for further instruction
  383.       in what to enter in this box. This is put in the appendix because the
  384.       instuctions are the same for three other locations in this program.
  385.  
  386.  
  387.       F) Start at first record
  388.       ─────────────────────────────────────────────────────────────────────
  389.       This selection can be made only if you selected "Print All/Part of
  390.       Database" from the prior sub-memu, and only if the record pointer is
  391.       not at the beginning of the file. If this prompt is currently No, the
  392.       printing will begin with the current record and work forward to the
  393.       end of the database. If the answer to this is Yes, the printing will
  394.       begin with the first logical record in the database. Once the answer
  395.       is changed to Yes, the record pointer will be located to the top of
  396.       the file (first logical record in database) and will not be able to
  397.       be moved back without going back to "Edit/Add Records".
  398.  
  399.  
  400.       G) Print every Nth record
  401.       ─────────────────────────────────────────────────────────────────────
  402.       This selection can be made only if you selected "Print All/Part of
  403.       Database" from the prior sub-memu. This will allow you to print every
  404.       1st, 2nd, 3rd, 4th, etc.. This would allow you to do a test mailing
  405.       before a complete mailing.
  406.  
  407.  
  408.       H) Pause every Nth record
  409.       ─────────────────────────────────────────────────────────────────────
  410.       This selection will pause the printing process after every Nth record
  411.       is printed. After pausing, simply press any key to continue. This is
  412.       repeated until all records in the database have been printed.
  413.  
  414.  
  415.       I) Display count? (Y/N)
  416.       ─────────────────────────────────────────────────────────────────────
  417.       If you answer Yes, "Printing xxx of yyy" will be displayed on the
  418.       screen where xxx is the number of records printed and yyy is the
  419.       total to be printed. This will keep you informed of where you are in
  420.       the printing process. It is optional in case you don't want the
  421.       program to take the time to count the records before printing. If you
  422.       are sending the output to a text file, there is no way of knowing
  423.       where you are in the printing process without using this feature.
  424.  
  425.  
  426.       Direct output to: ───────────────────────────────────────────────────
  427.  
  428.       This box will will appear before printing with selections A) to D).
  429.  
  430.       See Appendix B in the on-line documentation for further instruction
  431.       in what to enter in this box. This is put in the appendix because the
  432.       instuctions are the same for three other locations in this program.
  433.  
  434.  
  435.       ─────────────────────────────────────────────────────────────────────
  436.       Printing Postcards and Envelopes on a Laser Printer
  437.  
  438.       There are three settings needed to print postcards and envelopes
  439.       besides answering Yes to the Sheet Feeder option:
  440.  
  441.       1) "Labels per page" must be set to 1.
  442.  
  443.       2) "Skip lines top of page" should be set to about 22. The special
  444.          macro, {@SKIPx}, set at 22 may instead be used in the template.
  445.  
  446.       3) {@MARGINx} should be set to about 50 for a legal size envelope and
  447.          70 for a 3 1/2" x 5" postcard.
  448.  
  449.       These settings depend on the envelope(s) or postcard(s) being fed
  450.       length-wise into the printer, centered, and the printer is in
  451.       landscape mode.
  452.       
  453.       Also, if you are printing more envelopes or postcards than your laser
  454.       will take at one time, you will want to use "Pause every Nth records"
  455.       to reload your laser after printing a certain number of records.
  456.  
  457.  
  458.       Filling in a Template ───────────────────────────────────────────────
  459.  
  460.       Provided with DDFile is a sample template. It can be viewed and/or
  461.       edited by selecting "Edit/Add/Delete Templates" and then "Edit".
  462.       Notice that the field names are bound by the left ({) and right (})
  463.       curly braces. These are referred to as Field Macros. They must be
  464.       spelled correctly or you will get an error message saying the macro
  465.       is not valid. The macros in this template match the fields in the
  466.       SAMPLE.DBF database file.
  467.  
  468.       If a Macro is on a line by itself in a template and the field content
  469.       that the Macro represents is empty, that line will be ignored in the
  470.       printout. This eliminates blank lines in labels. If the field content
  471.       is empty and the Field Macro is not on a line by itself, only the
  472.       Field Macro will be ignored. The rest of the line will be printed.
  473.  
  474.  
  475.            <Alt-F>ield Macros ─────────────────────────────────────────────
  476.  
  477.            Field macros are the names of the fields enclosed in the left
  478.            ({) and right (}) curly braces. The names of the fields may be
  479.            displayed by pressing <Alt-F>. Selecting any field will type out
  480.            the field enclosed in the left and right curly braces at the
  481.            current cursor location.
  482.  
  483.            Most of your fields will have extra spaces at the end of the
  484.            field. If you want these spaces truncated (cut-off), place an
  485.            asterisk (*) after the left curly brace i.e. {*FIRST}. Note that
  486.            this will only work on character type fields. Another character
  487.            you could use instead of the "*" is the "$". This will truncate
  488.            any blank spaces off the field plus eliminate a trailing space
  489.            for separation if the field is empty.
  490.  
  491.            The following example output assume that the FIRST and LAST
  492.            fields are 20 characters in length
  493.  
  494.                    {FIRST} {MI} {LAST}  = John     J Jones
  495.                    {*FIRST} {MI} {LAST} = John J Jones
  496.                    {$FIRST}{$MI}{$LAST} = John J Jones
  497.  
  498.            If the middle initial field is empty:
  499.  
  500.                    {*FIRST} {MI} {LAST} = John  Jones
  501.                    {$FIRST}{$MI}{$LAST} = John Jones
  502.  
  503.            The last example eliminates the space after the middle initial.
  504.            Note that there are no spaces between the macros using the "$".
  505.  
  506.            Date Fields
  507.            ───────────
  508.            When printing a date field, you can insert an "!" at the end of
  509.            the date field macro to convert 01/01/93 to January 1, 1993. If
  510.            the date field is REC_DATE the field macro would be {REC_DATE!}.
  511.            If the date field is empty nothing will be printed.
  512.  
  513.            <Alt-S>pecial Macros ───────────────────────────────────────────
  514.  
  515.            Special macros are described below. They may be displayed on the
  516.            screen by pressing <Alt-S>. Selecting any macro will type out
  517.            the macro enclosed in the left and right curly braces at the
  518.            current cursor location.
  519.  
  520.            The last macro in this list, {>macro}, is not included in the
  521.            displayable list of special macros.
  522.  
  523.            {@RECORD#} ... Record number of the current record.
  524.  
  525.            {@LDATE} ..... Today's LONG date, example: November 19, 1986
  526.  
  527.            {@SDATE} ..... Today's SHORT date, example: 11/19/86
  528.  
  529.            {@EJECT} ..... Sends a form feed to the printer.
  530.  
  531.            {@PAUSE} ..... Pauses printing until any key is pressed.
  532.  
  533.            {@MARGINx} ... Sets printer margin to x spaces.
  534.  
  535.            {@SKIPx} ..... Skips x lines. (Use for single envelopes,
  536.                           postcards, top margins, etc.)
  537.  
  538.            {@WAITx} ..... This determines how fast to print. By default
  539.                           there is a 1 second pause after every 10 records
  540.                           are printed before looking to see if <Alt-Q> was
  541.                           pressed. Using this macro will allow you to
  542.                           change this setting to print much faster by
  543.                           simply replacing the x with a larger number. This
  544.                           macro does not work in the Shareware version.
  545.  
  546.            {@IF} ........ This macro is explained in the sample form
  547.                           letter.
  548.  
  549.            {@ELSE} ...... This macro works ONLY in conjunction with the
  550.                           {IF} macro.
  551.  
  552.            {@STATE} ..... To use this macro, a 2-character field will need
  553.                           to be assigned as the "State". See "General
  554.                           Setup" in the on-line documentation. This macro
  555.                           will print the name of the state represented by
  556.                           it's 2-character acronym i.e. AZ = Arizona.
  557.  
  558.            {@CR} ........ To use this macro, you must be printing "Carrier
  559.                           Route Bulk Labels". This macro will print two
  560.                           stars and the carrier route field at the right
  561.                           margin of the label: "** CR22". The CR22 is the
  562.                           field content. If you preceded this with "CAR-RT
  563.                           SORT", the first line of the printed label would
  564.                           contain: "CAR-RT SORT         ** CR22"
  565.  
  566.            {@BARCODE} ... This macro will print a POSTNET bar code from the
  567.                           zip code. The zip code must be either 10 or 12
  568.                           characters in length and must be assigned as the
  569.                           "Zip Code" field. If the zip code field length is
  570.                           10 then another "character type" field with a
  571.                           length of 2 must be assigned as the Delivery
  572.                           Point field. Also, a bar code printer must be
  573.                           selected from the "General Setup" sub-menu. See
  574.                           "Field Assignment" under "General Setup" in the
  575.                           on-line documentation.
  576.  
  577.                           The extra 2 digits in the zip code come from the
  578.                           last 2 numbers in the street address. Doctor Data
  579.                           Software runs a multi-user 24 hour BBS for "File
  580.                           Updating" and other services. File Updating will
  581.                           insert Zip+4+2 plus Carrier Route plus Address
  582.                           Standardization. Call us for more information.
  583.  
  584.                           Note that if using a laser jet (or compatible)
  585.                           printer, the barcode takes 2 lines instead of
  586.                           only one. If you place this macro above the
  587.                           label, leave a blank line under it. If you place
  588.                           this macro under the label, allow for one
  589.                           additional line in the "Lines per label" setting
  590.                           than is actually in the template.
  591.  
  592.            {@BARCODE1} .. This macro will print a POSTNET bar code from the
  593.                           zip code as above except in landscape mode. This
  594.                           is for use on laser jet printers only.
  595.  
  596.            {>macro} ..... The word "macro" needs to be replaced by one of
  597.                           the Field macros. This will cause the field data
  598.                           to be printed flush against the right margin of
  599.                           the label. The right margin is the label width in
  600.                           spaces.
  601.  
  602.  
  603.            <Alt-P>rinter Macros ───────────────────────────────────────────
  604.  
  605.            Printer macros may be displayed on the screen by pressing
  606.            <Alt-P> while editing a template. Selecting any macro will type
  607.            out the macro enclosed in the left and right curly braces at the
  608.            current cursor location. If you have not installed a printer and
  609.            then selected it you will first need to do this with the
  610.            "General Setup" command in the main menu. See "General Setup" in
  611.            the on-line documentation.
  612.  
  613.            Note: If you have two or more printers and two or more printer
  614.            drivers installed, be sure not to mix up the printer codes from
  615.            one driver with the printer codes from the other driver. This
  616.            can cause unpredictable results when printing since most
  617.            printers have different printer codes. It is best to make a note
  618.            of the printer name at the top of the template.
  619.  
  620.  
  621.       Sample Templates ────────────────────────────────────────────────────
  622.  
  623.       The first line(s) of a template can contain notes and comments useful
  624.       in keeping a record of the date mailed, quantity mailed, what the
  625.       Filter was set to, etc.. See the sample "Form Letter" template below.
  626.       These notes and comments may appear only in the beginning of a
  627.       template and must be preceded with a "*" as the first character on
  628.       the line. Any blank lines in the beginning of a template will also be
  629.       ignored. To skip lines, use the {@SKIPx} special macro.
  630.  
  631.       The top left corner of the template should be placed at the top left
  632.       corner of the screen following any comment lines. There should be no
  633.       left margin in the template. A left margin can be set with the
  634.       {@MARGINx} macro.
  635.  
  636.       It is important that the {@EJECT} macro is placed on the last line of
  637.       a form letter template in order to be sure the next page is properly
  638.       started.
  639.  
  640.       Sometimes when printing Form Letters, the 2nd letter and others
  641.       following it will NOT start printing in the same place the first
  642.       letter was started. To prevent this, advance the paper manually to
  643.       the top of page and then reset the printer by turning it off and back
  644.       on or do a form feed from the top of the next page.
  645.  
  646.       In viewing these sample templates, remember that the field macros
  647.       used are those from the provided SAMPLE.DBF database file. Because
  648.       DDFile allows you to change names of fields, delete fields, and add
  649.       other fields, you will want to verify a fields existence with
  650.       <Alt-F>ields.
  651.            
  652.  
  653.       SAMPLE "Form Letter" TEMPLATE:
  654.          ┌────────────────────────────────────────────────────────────
  655.          │ * (First line in letter file)
  656.          │ * DATE :              FILTER :
  657.          │ * # MAILED :          INDEX  :
  658.          │ * (The following line will be ignored because it is in the
  659.          │ * beginning of the letter and blank.)
  660.          │ * START OF LETTER (The following line will also be ignored.)
  661.          │ * Printer margin is set to 10 and Top margin is set to 5.
  662.          │
  663.          │ {@MARGIN10}{@SKIP5}                          {@LDATE}
  664.          │
  665.          │ {*FIRST} {LAST}
  666.          │ {COMPANY}
  667.          │ {ADD1}
  668.          │ {ADD2}
  669.          │ {*CITY} {ST} {ZIP}
  670.          │
  671.          │ {@IF}Dear {*FIRST},
  672.          │ {@ELSE}To whom it may concern,
  673.          │
  674.          │ This is the body of the letter. The above {@IF} and {@ELSE}
  675.          │ macros work in that if the macro immediately following the
  676.          │ {@IF} macro is NOT empty, that line is used and the next
  677.          │ line with the {@ELSE} macro is ignored. In other words, the
  678.          │ {FIRST} macro is valid and used ONLY if the "first name"
  679.          │ field is NOT empty. If the "first name" field is empty,
  680.          │ the {FIRST} macro is empty and therefore the entire line
  681.          │ will be ignored and the next line with the {@ELSE} macro will
  682.          │ be used instead.
  683.          │
  684.          │ Macros may be used within the body to further personalize
  685.          │ the letter such as:
  686.          │
  687.          │ Welcome {@STATE} friends...
  688.          │
  689.          │ Sincerely,
  690.          │ {@EJECT}
  691.          │
  692.  
  693.  
  694.       SAMPLE "Label" TEMPLATE:
  695.          ┌────────────────────────────────────────────────────────────
  696.          │ CAR-RT SORT         ** {@CR}
  697.          │ {*FIRST} {*LAST}   {ACCOUNT}
  698.          │ {ADD1}
  699.          │ {ADD2}
  700.          │ {*CITY} {ST}  {ZIP}
  701.          │ {TITLE}
  702.          │
  703.  
  704.  
  705.       The first line of the above template is an example of how to use a
  706.       Carrier Route Sort field.  Notice that "CAR-RT SORT" is not a
  707.       macro.  Other text can be inserted into templates such as "See
  708.       inside for special offer!" and even printer macros to enhance text.
  709.  
  710.       SAMPLE "Master List" TEMPLATE:
  711.          ┌────────────────────────────────────────────────────────────
  712.          │ {@RECORD#}  {FIRST} {LAST} {COMPANY}
  713.          │             {ADD1}  {ADD2}  {CITY} {STATE} {ZIP}
  714.          │
  715.  
  716.       Master lists are usually printed and used for looking up records
  717.       without accessing the database. Usually you would index it on company
  718.       name, zip code or last name.
  719.  
  720.