home *** CD-ROM | disk | FTP | other *** search
/ Frozen Fish 1: Amiga / FrozenFish-Apr94.iso / bbs / alib / d7xx / d770 / uedit.lha / Uedit / Ustar.LZH / PrintTest < prev    next >
Text File  |  1989-05-10  |  6KB  |  198 lines

  1.    
  2.                                  PrintTest
  3.  
  4.      This is a test document associated with Ustar v0.90.  
  5.  
  6.      It has two purposes.
  7.  
  8.      It will demonstrate the use of dot commands and the print processing.
  9.  
  10.      And, it will let you find out what the capabilities of your printer  are
  11. when using a printer through Preferences.
  12.  
  13.      Following this paragraph are a bunch of dot commands.  These will appear
  14. on-screen  only,  not in a printout done with print processing.  Usually, dot
  15. commands are at the start of a file; I have put them here so that this header
  16. section is not overshadowed by the  slightly  strange-looking  bunch  of  dot
  17. commands.
  18.  
  19.  
  20. .mt 5   Top margin of 5 lines
  21. .mb 5   Bottom margin of 5 lines
  22. .. This is a comment line.  Next two lines are a header and footer.
  23. .he PrintTest               Testing of Printing                      Page #
  24. .fo @         <-- System date                                        Page #
  25. .. This next command will send a code direct to the printer; it puts up a re-
  26. .. quester first, so if you're playing around,  you can skip it.
  27. .po 5   Page offset of 5 (printing starts in column 5)
  28. .pl 66  Page length is 66 lines
  29.  
  30.  
  31. .. The next line, when print-processed, will be a page break.
  32. .pa
  33.  
  34.                                  How To Test
  35.  
  36.      You  should  have  Print Preferences set to 2 for this test (this is the
  37. way that Ustar starts up, so don't worry about it if you haven't set it).
  38.  
  39.      With  this  document  as  the  current document in Ustar, do ^KP (or the
  40. Print - Actions - File Print menu selection) to begin the print process.
  41.  
  42.  
  43. If  you  just  want  to  see  what the printer codes in the section below do,
  44. answer  No to the "Print with Headers, etc." requester.  To see how the print
  45. processing and dot commands work, answer Yes to the requester.
  46.  
  47.  
  48. This line is before any print controls have been used.
  49.  
  50. Note  that  if  your  printer  is set up via its DIP switches, cartridges, or
  51. whatever to already be in some special mode, some of these may  not  work  or
  52. will look incorrect.
  53.  
  54. Also note that when it says below "if your printer supports  it",  it  really
  55. refers  to  the  printer driver you have chosen in the Amiga's Preferences to
  56. drive your printer.  Your printer may be capable of doing the action but  the
  57. printer driver may not support it.
  58.  
  59. The codes in paretheses, e.g. ^PA, are the Ustar codes to activate or toggle
  60. the described feature on or off.
  61.  
  62. Now  we  will  issue  the  master  Reset  code to the printer, overriding any
  63. Preferences settings.  Normally you probably won't need to do  this,  but  it
  64. sets up a "plain" environment for the tests below.
  65.  
  66.  
  67.  
  68.  
  69. This line is after the master Reset code, before any others.  If all is as it
  70. should be, this should be in a plain print style at 10 characters per inch.
  71.  
  72.  
  73. /
  74. This line should be in Elite pitch (12 characters per inch). (^PA)
  75.  
  76. .
  77. This line should be back to the normal Pica pitch (10 char. per inch) (^PN)
  78.  
  79. *
  80. This line should be bold, if your printer supports Boldface printing. (^PB)
  81. +
  82.  
  83. This should be back to normal.
  84.  
  85. This line should be in doublestrike, if your printer supports it. (^PD)
  86.  
  87. This should be back to normal.
  88.  
  89. (
  90. This line should be underlined, if your printer does underlining. (^PS)
  91. )
  92.  
  93. This should be back to normal.
  94.  
  95. This line should be in Near Letter Quality, if your printer supports it. (^PX)
  96. :
  97.  
  98. This should be back to normal.
  99.  
  100. =
  101. This line should be in subscript, if your printer supports it. (^PV)
  102. >
  103.  
  104. Back to normal
  105.  
  106. This line should be in superscript, if your printer supports it. (^PT)
  107. <
  108.  
  109. Back to normal
  110.  
  111. &
  112. This line should be in italics, if your printer supports it. (^PY)
  113. '
  114.  
  115. Back to normal.
  116.  
  117. This line should be in condensed (15 characters per inch).  (^PQ)
  118.  
  119. Back to normal.
  120.  
  121. This line should be in wide print. (^PW)
  122.  
  123. Back to normal.
  124.  
  125. That completes the WordStar (tm) control codes supported in this  version  of
  126. Ustar.  Now, we will also try a few of the other Preferences codes.
  127.  
  128. If you have a color printer, the following lines should print text in all the
  129. colors you have. (Background color for all is color 0).
  130.  
  131. ,>-OColor 0 (30)
  132. ,?-OColor 1 (31)
  133. ,@-OColor 2 (32)
  134. ,A-OColor 3 (33)
  135. ,B-OColor 4 (34)
  136. ,C-OColor 5 (35)
  137. ,D-OColor 6 (36)
  138. ,E-OColor 7 (37)
  139. ,F-OColor 8 (38)
  140. ,G-OColor 9 (39)
  141.  
  142. If your printer does background colors, these print background for all
  143. the colors you have:
  144.  
  145. ,>-HColor 0 (40)
  146. ,>-IColor 1 (41)
  147. ,>-JColor 2 (42)
  148. ,>-KColor 3 (43)
  149. ,>-LColor 4 (44)
  150. ,>-MColor 5 (45)
  151. ,>-NColor 6 (46)
  152. ,>-OColor 7 (47)
  153. ,>-PColor 8 (48)
  154. ,>-QColor 9 (49)
  155.  
  156. ,>-O
  157. Back to normal color 0 for foreground and color 7 for background.
  158.  
  159.  
  160. W
  161. Ok, if this is supported on your printer, this and the
  162. next several lines should be printing at 8 lines per
  163. inch (1/8" line spacing), looking closer together
  164. than normal.
  165.  
  166. Note that changing line spacing like this will mess
  167. up your page formatting past that point, since we told
  168. it above (with .pl 66) that the document is 66 lines per 
  169. page, and we just changed it to 88 lines per page, so this
  170. page and any after it will be messed up.
  171.  
  172. For this reason, it is a good idea to stick to one line
  173. spacing throughout a document, or else do your formatting
  174. manually or split out sections that need special formatting
  175. to a separate file.
  176.  
  177.  
  178. X
  179. Now it should be back to normal line spacing of
  180. 6 lines per inch (1/6" line spacing), and should
  181. look like the rest of this printout.
  182.  
  183.  
  184. There are many other Preferences printer codes, see Uedit documentation or the
  185. reference  list in UstarHelp!, but this completes the illustration of those
  186. that are the most common and useful.
  187.  
  188.  
  189.                               End of PrintTest
  190.