home *** CD-ROM | disk | FTP | other *** search
/ Software Du Jour / SoftwareDuJour.iso / COMPUTER / PRINTER / IMP80.ARC / IMPT2.TXT < prev    next >
Encoding:
Text File  |  1986-09-25  |  6.8 KB  |  204 lines

  1.  
  2. .en     Enable formatting. Once enabled, it cannot be disabled.  If
  3. ..      this was not the first command in this file then EVERYTHING
  4. ..      would print.
  5. ..
  6. ..      The next command is the IMMEDIATE ACTION command. The comm-
  7. ..      and following the ".!!" goes into  effect  immediately.  We
  8. ..      use it here to select 12 characters per inch  (cpi).  If we
  9. ..      selected  12  cpi by placing the backslash command in front
  10. ..      the first text line,  the headers on the first  page  would
  11. ..      print at 10 cpi,  the default density,  because the headers
  12. ..      are printed before the main text section is analyzed.
  13. .!! \|
  14. ..   
  15. ..      No font backslash command is in this file,  so  the  entire
  16. ..      file will print using the default font, FONT1.
  17. ..
  18. ..      IMPTUTR2.TXT - IMAGEPRINT DEMONSTRATION FILE    51123
  19. ..
  20. ..
  21. ..      This file demonstrates all of the ImagePrint formatting and
  22. ..      backslash commands.  Type  "IMP80 IMPTUTR2.TXT" to  see the
  23. ..      printed result. Some of the  dot formatting  commands shown
  24. ..      here don't  contribute to the format of the printed output,
  25. ..      e.g. setting a parameter to the default value.
  26. ..
  27. ..      Backslash  commands  are used  without comment because they
  28. ..      are easy to understand and the best way to learn them is to
  29. ..      see them in use. "\-" is a soft hyphen.
  30. ..
  31. ..      Any line starting with a "." is  interpreted  as a command.
  32. ..      If the next printable character is another ".", the line is
  33. ..      ignored. This allows comments to appear in the source text,
  34. ..      but not be printed.
  35. ..
  36. ..      A two letter command can  be  separated  from  the  dot  in
  37. ..      column 1 by zero or more spaces. The variable parameter (if
  38. ..      one is needed), follows the  two letter  command  separated
  39. ..      from  it by zero or more spaces. Each letter of the command
  40. ..      can be in upper or lower  case.  A comment  can  follow the 
  41. ..      variable parameter, separated from it by at least one space.
  42. ..      The following page length formatting commands are all equiv-
  43. ..      alent:
  44. ..
  45. .pl 60  comment - set page length to 60 lines
  46. .  pl60
  47. .       PL      60      set page length to 60 lines
  48. .pl60
  49. .pL60
  50. ..
  51. ..
  52. .ww     Word Wrap -  enable left and right justification within the
  53. ..      left and right margins. This is the default state.
  54. ..
  55. ..
  56. .pl 66  Page Length is 66. This is the default value.
  57. ..
  58. ..
  59. .pn 1   Page Number = 1.  This is the default starting page number.
  60. ..      "&&" in  the header or  footer  strings  is replaced by the
  61. ..      current page number.
  62. ..
  63. ..
  64. .oe 5   Odd Extra -  Shift everything on odd pages 5 extra  columns
  65. ..      to the right.
  66. .ee -5  Even Extra -  Shift  everything  on even pages 5 columns to
  67. ..      the left.
  68. .oe     No extra spaces on odd pages.
  69. .ee     No extra spaces on even pages.
  70. ..
  71. ..
  72. .li 8   8 Lines per Inch (lpi). The default is 6 lpi.
  73. .li 6   Change  back  to  6  lpi.  Do not change the inter-line gap 
  74. ..      after you have started printing a document because the paper
  75. ..      alignment will  not  be correct.
  76. ..
  77. ..
  78. .sw 65  Set Width of headers and footers to 65  columns.  The  left
  79. ..      and  right  justification  and centering of the headers and
  80. ..      footers will occur within this range.
  81. ..
  82. ..
  83. ..      Odd page Headers
  84. .oh
  85. .oh...\bImagePrint formatting\b  \iPage &&\i
  86. .oh___________________________________________________________________________
  87. .oh
  88. .oh
  89. .oh
  90. ..
  91. ..      Even page Headers
  92. .eh
  93. .eh                   \iPage &&\i  \bImagePrint formatting\b...
  94. .eh___________________________________________________________________________
  95. .eh
  96. .eh
  97. .eh
  98. ..
  99. ..      Odd page Footers
  100. .of
  101. .of
  102. .of___________________________________________________________________________
  103. .of    ...format demonstration
  104. .of
  105. .of
  106. .of
  107. .of
  108. ..
  109. ..      Even page Footers
  110. .ef
  111. .ef
  112. .ef___________________________________________________________________________
  113. .ef                     format demonstration...
  114. .ef
  115. .ef
  116. .ef
  117. .ef
  118. ..
  119. ..
  120. .lm 5   Left Margin - Set the left margin to the 5th column.
  121. ..
  122. .rm 60  Right Margin - Set the right margin to the 60th column.
  123. ..
  124. ..
  125. .ce     CEnter the next line.  The cancel backslash command "\C" is
  126. ..      used to cancel the bold  (\B),  underline (\U)  and  double
  127. ..      width (\W) commands.
  128. ..
  129. \u\b\wImagePrint Demonstration\c
  130. .ce     CEnter the next line.
  131. \u\bDot Formatting and Backslash Commands\c
  132. ..
  133. ..
  134. .lf 2   Line Feed - Space down 2 lines.
  135. .ti 3   Temporary Indent of 3 from left margin.
  136. This is the demon\-str\-ation file for Image\-Print \udot\u \ufor\-mat\-ting\u and
  137. ..
  138. ..      Here are comment lines right in the middle of the text
  139. ..
  140. \uback\-slash\u com\-mands. This para\-graph is left and right jus\-ti\-fied
  141. be\-cause Word Wrap mode is en\-abled. It could be dis\-abled with the ".NW"
  142. no word wrap com\-mand.
  143. Each
  144. word
  145. of
  146. this
  147. sen\-tence
  148. was
  149. typed
  150. on
  151. a
  152. se\-par\-ate
  153. line.
  154. ..
  155. ..
  156. .fp     Force Printing of buffer.
  157. .pp     New paragraph
  158. ..
  159. .lm +15  Add 15 to the current Left Margin.
  160. ..
  161. Let's demon\-strate some of the back\-slash com\-mands:
  162. .lf
  163. \wThe\w \bquick\b \w\hbrown\w\h \ifox\i jumped  \^over\n  \b\ithe\b\i
  164. \wlazy\w \ucow\u. \i\uThe\i\u  \uquick\u  \bbrown\b  \h\ifox\h\i
  165. \i\bjumped\i\b \h\^over\h\n \i\b\wthe\i\b\w \vlazy\n \i\u\w\bcow\i\u\w\b.
  166. No\-tice that the space the back\-slash com\-mands take up in the file is
  167. ac\-count\-ed for when left and right jus\-ti\-fy\-ing text. The ex\-tra width
  168. gen\-er\-at\-ed by the doub\-le width com\-mand is al\-so ac\-count\-ed for.
  169. ..
  170. .lf
  171. .lm 5
  172. .rm -15
  173. The left mar\-gin has just been set back to the 5th col\-umn and
  174. the right mar\-gin has moved left 15 col\-umns. The line spac\-ing 
  175. .ls 2
  176. dis\-tance has just been changed to cause the text to be printed
  177. on every other line. If for\-mat\-ting has been en\-abled, Image\-Print feeds
  178. the paper to the top of the next page when the end-of-file is reached.
  179. ..
  180. .fp
  181. .ls     Single spaced lines again
  182. .rm +15
  183. ..
  184. This is the end of the IMPTUTR2.TXT file. Be sure to look at 
  185. IMPTUTR2.TXT with your word pro\-ces\-sor be\-cause there are a lot of 
  186. non-print\-ing com\-ments and ex\-plan\-ations con\-tained in it.
  187. ..
  188. .pa     Unconditionally  move  to  the next page. If the paper has
  189. ..      moved to the top of a new  page and no text has printed yet,
  190. ..      ".pa" will have no effect.
  191. ..
  192. ..
  193. ..      This is the end of the demonstration.  It was unnecessary
  194. ..      to force a page  feed  (".PA");  the paper  automatically
  195. ..      feeds to the top of the next page when ImagePrint finishes
  196. ..      if formatting had been enabled.
  197. ..
  198. ..
  199. ..      Make sure any file submitted to ImagePrint has an end-of-
  200. ..      file marker character (ASCII 26).  Most  word  processors
  201. ..      automatically append one.
  202. ..      It looks like this (may not be visible) --> 
  203.  
  204.