home *** CD-ROM | disk | FTP | other *** search
/ ftp.whtech.com / ftp.whtech.com.tar / ftp.whtech.com / club100 / prt / prtmg3.do < prev    next >
Text File  |  2006-10-19  |  6KB  |  137 lines

  1. .rf
  2. .pa
  3. PRTMG3 03/04/86
  4. .csENTERING AND MANAGING DOCUMENTS
  5. .PP
  6. DOCUMENT, MERGE and MAIL LIST files can be produced with the built-in TEXT programs of the M100 and M200 or by other text entry programs that produce standard ASCII .DO files.  DOCUMENT and MERGE files consist of text plus DotComs and Psigs within the text which cause the program and printer to produce the desired end result.  Short text (up to perhaps 8,000 characters) should be kept together in one DOCUMENT file.  Extensive text should be partially stored in one DOCUMENT file and extended into as many MERGE files as needed.  PRTEXT will handle them as one long, continuous document with correct page numbers but the individual segments will easily fit into RAM memory for entry and editing.  Initializing DotComs (margins, header, page length, etc.) need only appear in the master DOCUMENT file.
  7. .pp
  8. Short name lists can also be kept in one MAIL LIST file while longer lists can be broken up into multiple files.  Only the first file in a series contains the ML HEADER information and each file contains the proper .ML DotCom to call up the next.
  9.  
  10. .csDOT COMMANDS (DotComs)
  11. .pp
  12. DotComs are used in DOCUMENT and MERGE files to control print formatting (the .ML DotCom can also be used in MAIL LIST files).  A DotCom begins with a period (dot) in the first column of a new line followed by two characters (UPPER or lower case) followed (when needed) by numeric parameters (##) and switches (/##) to control the desired action.  Each DotCom in the text must start in column one with a dot and only one DotCom per line is allowed.  The DotCom line must be terminated with a return produced by the ENTER key.
  13. .pp
  14. A default value is listed for each DotCom and is the value PRTEXT chooses at start-up which will remain for the entire document unless a DotCom in the document changes it.
  15. .nf
  16.  
  17. DotCom         default    Name
  18.  
  19.  .FL###        66    Form (paper) Length
  20.                 (range 1 to 999)
  21.  
  22.  .PL##        56    Page Length (lines to be printed)
  23.                 (range 1 to FL)
  24.  
  25.  .LM##        10    Left Margin (as with a typewriter)
  26.                 (range 0 to RM-10)
  27.  
  28.  .RM###        75    Right Margin (as with a typewriter)
  29.                 (range LM+10 to 132)
  30.  
  31.     The print line length is RM - LM.
  32. .pa
  33. DotCom         default    Name
  34.  
  35.  .LS#         1    Line Spacing (1 single space, 2 double, etc.)
  36.  
  37.  .PG###         1    Reset Page Number.  Default start is Page 1.
  38.  
  39.  .IN(##[/##])    0/0    Indent  ##  to right of LEFT margin.
  40.                    /##  to left of RIGHT margin.
  41.  
  42.  .PP(##[/#])    5/0    Indent first line only ## characters.
  43.             A negative value (.pp-5) is valid and will
  44.                 provide a reverse or hanging indent.
  45.             /#  extra line spaces between paragraphs.  
  46.             .PP alone repeats the last previous setting.
  47.  
  48.  .SK##            Skip ## lines.
  49.  
  50.  .PA            Force new page.  Otherwise a new page will
  51.             be started automatically when the text
  52.             exceeds .PL page length.
  53.  
  54.             To print a Header with optional page number
  55.             at the top of the first page, a .PA DotCom
  56.             should appear after the .HC header line
  57.             before the first line of body text.
  58.  
  59.  .AJtext        Pause to Adjust or insert paper, etc.;
  60.             "text" will be displayed as a reminder as in
  61.             ".AJ Insert Envelope".
  62.  
  63.  .HCtext        Header Centered - "text" will be centered at
  64.             the top of each new page.  If a
  65.             #  character is included as in:
  66.                 .hcSample Header Text     Page #
  67.                     or
  68.                 .HC-#-
  69.             the current page number will replace the #.
  70.  
  71.  .CStext        Center String - "text" will be centered.
  72.  
  73.  .RF        RF    Right fill - ragged right margin.
  74.             DO NOT use tabs in this mode as the auto-
  75.             matic word wrap will confuse their location.
  76.  
  77.  .NF        RF    No fill - print lines exactly as entered.
  78.             Tabs OK.  User is responsible for maintain-
  79.             ing right margin in this mode by terminating
  80.             lines with ENTER (CR/LF) at the proper point.
  81.  
  82.  .RJ        NJ    Right Justify - even right margin
  83.                 (includes RF).
  84.  
  85.  .NJ        NJ    No Justify - ragged right margin
  86. .pa
  87. DotCom         default    Name
  88.  
  89.  .MG DEV:FILNAM.DO    Merge DEV:FILNAM.DO at this point.  The MERGE
  90.             file must be in RAM or disk memory (see PDD
  91.             notes).  When all of the MERGE file is
  92.             processed control will return to the next line
  93.             of the DOCUMENT file.  Many files can be com-
  94.             bined into one document with correct page
  95.             numbers with this DotCom.  MERGE files
  96.             cannot contain .ML or .MG DotComs.
  97.  
  98.  .ML DEV:FILNAM.DO    Open and process mailing list.  The mailing
  99.             list file may be in RAM, on cassette or disk
  100.             (see PDD notes).  .ML should be the first
  101.             DotCom in a DOCUMENT file or the last
  102.             (and only) DotCom in a MAIL LIST file.  When
  103.             the .ML DotCom is encountered the first time
  104.             the file will be opened and the names of
  105.             each field read into memory.  Then the data
  106.             in the records is read one record at a time
  107.             and a copy of the document printed for each
  108.             name record.  The document is personalized
  109.             according to the way that field names are
  110.             included in the text.
  111.  
  112.  .PX#        0    Disable=1  Enable=0 Special Print Symbols.
  113.  
  114. .csSPECIAL PRINTING SIGNALS (Psigs)
  115.  
  116. May be inserted anywhere in text.
  117.  
  118.  GRPH l    (lowercase L)    Start and end underscore
  119.                 (displays as right arrow).
  120.  
  121.  GRPH i (lowercase I)    Start and end italics (or color)
  122.                 (displays as lazy S).
  123.  
  124.  GRPH b    (lowercase B)    Start and end bold face
  125.                 (displays as 45 deg arrow).
  126.  
  127.  GRPH o (lowercase O)    Superscript ONE character following
  128.                 (displays as up arrow).
  129.  
  130.  GRPH , (comma)        Subscript ONE character following
  131.                 (displays as down arrow)
  132.  
  133.  SHIFT GRPH C        Force space (displays as shaded block).
  134.             Use as space when text is to be always
  135.             kept together as one word.  Prints as a
  136.             normal space.
  137.