home *** CD-ROM | disk | FTP | other *** search
/ Archive Magazine 1995 / ARCHIVE95.iso / text / hints / volume_07 / issue_01 next >
Text File  |  1995-02-16  |  8KB  |  173 lines

  1. Hints and Tips
  2. 7.1
  3. Å    A300/400 floppy drive problems Ö On the old A310 and A440 machines,
  4. the disc drive has a cover on the head which has a notorious tendency to
  5. fall off but the drive is not affected by a missing cover. A far more
  6. usual fault on A310 drives is that the eject button falls off. This can
  7. easily be fixed with glue. (Do take the drive out of the machine first
  8. so you donæt glue the button to the front of the computer!)
  9. 7.1
  10. On the old machines (with only the disc drive button sticking out
  11. through the front fascia) you have no option but to replace them with an
  12. identical Sony drive mechanism (ú102 through Archive Ö Ouch! Ed.) but on
  13. the newer machines, like the A410/1, you can use most 720Kb drives
  14. available. (Are you sure? Ed.) Knut Folmo, Norway.
  15. 7.1
  16. Å    Bespoke appointmentsæ calendar Ö I have written a program (on the
  17. monthly program disc) to generate an Impression-based appointments
  18. calendar and would like to share it with other people, courtesy of
  19. Archive magazine. Using the program avoids filling in all those
  20. birthdays, etc every year. Itæs all done automatically from a text file.
  21. Itæs written in Basic and has no glitzy front end but it works OK.á Ian
  22. Summers, Norwich.
  23. 7.1
  24. Å    Elite Ö A space station exists in witch space. After killing all the
  25. other ships, switch to one of the status screens (f8?) and the compass
  26. will reappear. By jumping repeatedly in that direction, you can
  27. eventually find it. This station is strange in many ways and, while you
  28. are experimenting, it is worth noting that its existence changes while
  29. you are looking at the status screen. Try docking and shooting while
  30. using <f8>.á Geoff Scott, Northampton.
  31. 7.1
  32. Å    Form feeds in printer drivers Ö I would like to respond to Mick Dayæs
  33. comments about form feeds (6.12 p57). The terminal form feed is
  34. definitively (now thereæs sticking my neck out) configurable. Mick does
  35. not say whether he is using text or graphics output to his printer but
  36. for the dot matrix drivers this is what happens.
  37. 7.1
  38. Text output:-
  39. 7.1
  40. send
  41. 7.1
  42. StartTextJob code
  43. 7.1
  44. SetLines code plus byte to set the page depth in text lines
  45. 7.1
  46. [your text formatted as per option set, eg none or draft highlights etc
  47. using specified line feed/ linefeed cr codes]
  48. 7.1
  49. {gets to the end of a page
  50. 7.1
  51. [more text as above]}
  52. 7.1
  53.        .
  54. 7.1
  55.        .  repeat above for number         of pages
  56. 7.1
  57.        .
  58. 7.1
  59. EndTextJob code (this usually includes a Form Feed in the codes sent)
  60. 7.1
  61. For graphics you have:-
  62. 7.1
  63. SetLines code plus byte as above
  64. 7.1
  65. PageStart code
  66. 7.1
  67. [Graphics data using specified control strings]
  68. 7.1
  69. @{of a page
  70. 7.1
  71. PageEnd code
  72. 7.1
  73. SetLines code as above
  74. 7.1
  75. PageStart code
  76. 7.1
  77. [Graphics data as above]}
  78. 7.1
  79.       .
  80. 7.1
  81.       . repeat for number of            pages
  82. 7.1
  83.       .
  84. 7.1
  85. GraphicsFormFeed code PageEnd code
  86. 7.1
  87. thus, by defining your form feed character in the driver definition file
  88. to be nothing, form feeds can be suppressed. Remember though that it
  89. needs to be done for each graphics resolution and each text definition.
  90. 7.1
  91. I have a dummy printer def file which replaces the genuine control codes
  92. with strings to illustrate what is going on. If it is merged into
  93. !Printersæ Printer control window and set to print to file, output from
  94. it can be viewed in !Edit to see what is going on. If a multipage text
  95. file is dragged to it, the effect of text control codes can be viewed,
  96. and similarly with graphics. The ideal is a two-page document using
  97. outline fonts with, say, just one character at the bottom of each page
  98. so that there is not too much graphics garbage to wade through but
  99. mostly LineSkip codes. The printer def file and a suitable text test
  100. file are on the Archive monthly disc. It includes a ÉGraptestæ file
  101. which is a two-page Wordz ödocumentò.á Tim Nicholson, Cranleigh.
  102. 7.1
  103. Å    Keyboard cleaning Ö We regularly get asked about keyboard problems,
  104. many of which could be solved by cleaning. That, I think, is the answer
  105. to Brian Cowanæs question in his Hardware Column last month. There have
  106. been three main references to this in Archive (3.9 p10 + 5.1 p25 + 5.2
  107. p28). I think these should cover most eventualities.á Ed.
  108. 7.1
  109. In response to Brianæs question, several subscribers sent in
  110. descriptions of how to clean a keyboard. I think that much of it is
  111. covered by the references above but I think Knut Folmoæs comments which
  112. follow may also be helpful.á Ed.
  113. 7.1
  114. Å    Keyboard cleaning (2) Ö There are three different keyboards on
  115. Archimedes computers.
  116. 7.1
  117. (1)áKPL keyboard Ö This was used only on VERY old A310 machines. It can
  118. be identified by looking at the CapsLock LED, which is mounted on the
  119. right hand side of the key-top, as opposed to the left on the more usual
  120. types. This is horrible to type on! If you still have such a keyboard,
  121. throw it in the wastebin and buy a new! (Funnily enough, Acorn keyboards
  122. are on special offer at the moment for ú95 instead of ú123 Ö strictly
  123. while stocks last Ö I have about 10 of them. Ed)
  124. 7.1
  125. (2)áKeytronics keyboard Ö This is the normal keyboard on most of the
  126. A310s and nearly all the A400/1 range. If you take off one of the keys,
  127. you will see a rubber cap that is mounted between the key and the
  128. keyswitch.
  129. 7.1
  130. These keyboards do not like hair, biscuits and other kinds of dust. If
  131. any keys fail, it most likely to be the CapsLock key because the hole
  132. around the LED makes it possible for dust to get into the keyswitch. If
  133. you have access to pressurised air, you can fix the key for a limited
  134. period of time by taking off the keytop and blowing some air around the
  135. LED. The best cure is to open the whole keyboard and clean it. This is a
  136. lot of work and involves unscrewing approximately 40 screws. (See the
  137. references mentioned above. Ed.)
  138. 7.1
  139. (3)áCherry keyboards Ö All A5000/A540 machines have this type of
  140. keyboard, which use the same mechanics as the A3000. This is a very good
  141. membrane keyboard which seems to be very long-lasting. The use of
  142. membrane technology makes it impossible for dust to enter the electrical
  143. contacts. This type of keyboard is also the best to type on. It can
  144. easily be identified by taking off one of the keytops, which should have
  145. a little spring mounted on the underside. (Cherry keyboards are the ones
  146. we have on special offer at the moment. Ed.)á Knut Folmo, Norway.
  147. 7.1
  148. There is a fourth type: the A4000 type keyboard. We havenæt had any of
  149. these go wrong yet, but weæll report on them as and when they do. Ed.
  150. 7.1
  151. Å    Street maps using Draw Ö At the risk of being boring, since there have
  152. been lots of articles about using Artworks or Vector to produce street
  153. maps, I offer this solution using plain simple RISC OS 3 Draw. Firstly,
  154. draw your map using ordinary thin lines for the roads. Then group all
  155. the roads together and make their thicknesses (say) 4pt. Switch the grid
  156. lock on and copy the roads. With the grid lock on, a copy is made
  157. exactly one grid distance down and to the right. Therefore you can move
  158. the copy exactly over the original. Now change all the lines in the copy
  159. to colour white and thickness (say) 2pt and, hey presto, thereæs your
  160. street map.
  161. 7.1
  162. If you want different thickness roads, keep the grid lock on and move
  163. the copy to a different bit of the paper. Then make the copyæs line
  164. colour red (so you can see it) and ungroup both maps. Carefully change
  165. the corresponding road lines to the required thicknesses Ö e.g. 8pt on
  166. the original and 5pt on the copy for the main roads. Then re-group the
  167. roads and move the copy over the original. Finally, change the copy to
  168. white lines. There may be more elegant ways of generating road maps but
  169. this one is öfreeò with the Archimedes! Notice also that there are no
  170. problems with joining different sized roads (i.e. the outlines of the
  171. small roads do not project into the big roads.á Cain Hunt, Cambridge.ááA
  172. 7.1
  173.