home *** CD-ROM | disk | FTP | other *** search
/ Archive Magazine 1995 / ARCHIVE95.iso / text / hints / volume_8 < prev   
Text File  |  1995-08-02  |  79KB  |  1,662 lines

  1. Hints and Tips
  2. 8.1
  3. Å  Disabling capslockáÖáIt has been pointed out that the capslock key is
  4. not used very often, and usually only causes confusion when you hit it
  5. accidentally. (This is a polite way of saying that there had been
  6. another emission of blue smoke from the Editoræs desk as I HAD JUST HIT
  7. <CAPSLOCK> ACCIDENTALLY AGAIN!!! Ed.)
  8. 8.1
  9. To solve this problem, a short module was written to disable the
  10. capslock key. When the module is loaded, the key will act as a Caps key,
  11. but will not lock, i.e. it acts like a shift key but only affects
  12. letters Ö the numbers and symbols are unchanged. If you need to re-
  13. enable the capslock function, press <f12> and type *rmkill disablecaps.
  14. 8.1
  15. The module, which works on all Archimedes and RiscáPC machines, is on
  16. the monthly program disc.á Matthew Hunter, NCS.
  17. 8.1
  18. Peace has now been restored in the Editoræs office! As far as Iæm
  19. concerned, this module is the best thing since sliced bread. Thanks,
  20. Matthew!!á Ed.
  21. 8.1
  22. Å  RiscáPC hard disc power-saving ù Since the advent of RISC OS 3, there
  23. has been an option in the IDEDiscs section of Configure for setting the
  24. spin down delay on the hard drive Ö similar to the screen blanker. This
  25. is almost always greyed out, preventing it from being used, the
  26. exceptions being the A4 portable and some A3020s. (Some third party
  27. interfaces also support the option, but this hint does not apply to
  28. them.) This makes sense since, with portables, the battery life needs to
  29. be preserved. This is less important on a desktop machine and, also,
  30. there is some question as to the long term effects of spinning the drive
  31. up and down more than necessary.
  32. 8.1
  33. It is possible, however, to control the drive in this way even if you
  34. have a different machine, providing that the drive supports the
  35. powersave IDE commands. On the monthly program disc is a command line
  36. program öpowersaveò. Double click on ö!SetDirò which will make sure you
  37. are in the correct directory, press <f12> and type öpowersave 4ò
  38. <return>. This will give you the list of options and the current spin
  39. status for drive 4 (which will be meaningless if you are not using ADFS
  40. to control the drive). There are three control options detailed below.
  41. 8.1
  42. öpowersave spindown <drivenumber>ò will spin down drive <drivenumber> (4
  43. or 5) immediately. If the drive is not spinning and you try to access
  44. it, there will be a pause while the drive is spun up before the access
  45. takes place (occasionally you can open a directory without spinning up
  46. the drive since it is cached in memory and the drive is never accessed).
  47. 8.1
  48. öpowersave spinup <drivenumber>ò will spin up drive <drivenumber> (4 or
  49. 5) immediately.
  50. 8.1
  51. öpowersave delay <drivenumber> <delay>ò will set the power-saving delay
  52. for drive <drive number> to <delay> seconds Ö note that it is rounded
  53. down to 5-second accuracy but the timing is not particularly accurate
  54. anyway. This will not be configured, so if you want to use this feature,
  55. you will need to run powersave during the boot sequence. It is worth
  56. making the delay longer rather than shorter since continually spinning
  57. your drive up and down could reduce your driveæs life expectancy ù you
  58. do this at your own risk.
  59. 8.1
  60. One area where this does have a major impact is on the Risc PC Ö most of
  61. the noise comes not from the fan but from the hard drive, so if you spin
  62. down the drive, you can hardly hear the machine at all.á Matthew Hunter,
  63. NCS.
  64. 8.1
  65. Å  Splitting Impression documents over several floppy discs Ö Over the
  66. past six months, I have spent a lot of time working with Tony Tolver of
  67. T-J Reproductions and one thing that always amazed me was the number of
  68. methods used by people to split an Impression document over two or more
  69. discs Ö after all, how do you get a quart (or 10Mb) into a pint pot (or
  70. 800Kb/1.6Mb)?
  71. 8.1
  72. The methods I have seen include: PacDir, ArcFS, CFS, Squash and breaking
  73. down the document and moving the contents of Chapter2 onto further discs
  74. and then compressing them all.
  75. 8.1
  76. All of these are relatively time-consuming, particularly the last one. I
  77. was sure there ought to be a better way and then I found it by accident
  78. after upgrading to Hard Disc Companion v2.50 from Risc Developments. I
  79. read the manual and found that it was easy to back up just one file or
  80. directory, so here is an easy way for you and for the recipient of your
  81. file to split Impression documents.
  82. 8.1
  83. 1  Install Hard Disc Companion on your iconbar in the usual way.
  84. 8.1
  85. 2  Single click on the icon which opens a window.
  86. 8.1
  87. 3  Click <menu> and choose Destination, Floppy0 and 800K or 1.6M as
  88. appropriate.
  89. 8.1
  90. 4  Under Preferences, you can select how you wish to make the backup,
  91. i.e. Very Quickly but with no compression or relatively slowly but with
  92. maximum compression. The choice is yours.
  93. 8.1
  94. 5  Under Files, choose Backup and a window opens onto which you drag
  95. your Impression document.
  96. 8.1
  97. 6  Finally, click on Start on the main window and simply follow the on-
  98. screen prompts.
  99. 8.1
  100. 7  Send your file to the destination address.
  101. 8.1
  102. Upon receipt, all that needs to be done is to insert the last disc (so
  103. it helps if you label them, 1,2. . . etc) and open the window. Two files
  104. are seen: !Restore and Data. Double click on !Restore to install it on
  105. the iconbar and drag Data over the icon. Click again on Restore and a
  106. new window opens. Simply drag the icon to a new directory or the root
  107. and follow the on-screen prompts. The document will be fully rebuilt on
  108. the recipientæs computer.
  109. 8.1
  110. It may interest you to know that I created a dummy Impression document
  111. to test this. It was 20Mb long and I used Hard Disc Companion v2.50 to
  112. split onto six 800Kb floppies at maximum compression Ö it worked
  113. faultlessly.
  114. 8.1
  115. Hard Disc Companion v2.50 costs ú45 +p&p +VAT from Risc Developments or
  116. ú52 from NCS.á Keith Parker, Southall.ááAá
  117. 8.1
  118. With Risc Developments going into liquidation, we arenæt sure about the
  119. availability of Hard Disc Companion but, presumably, Beebug Ltd will be
  120. taking it over.á Ed.
  121. 8.1
  122.  
  123. Hints and Tips
  124. 8.2
  125. Å  A3000 bulging case Ö My early A3000 had, from the start, a standard
  126. Acorn monitor stand upon which was a AKF17 monitor. Of late, I found the
  127. upper case section, on the left hand side by the power supply, had
  128. started to bulge out from the bottom section. This was caused by the
  129. weight of the monitor supported by the Acorn stand only on the extreme
  130. edges of the case.
  131. 8.2
  132. In my job as IT Technician at school, I had noticed (having removed
  133. countless covers for various reasons) there have been two upgrades to
  134. the cases, and one of the upgrades had special strengthening and
  135. interlocking around this area, no doubt with this in mind. The latest,
  136. Mk 3 version is available as an Acorn spare part. The base of the new
  137. case requires a lot of work in removing the PCB and any upgrades, and
  138. the power supply design has changed making the changeover awkward.
  139. However the new case lid will fit onto the old base and this alone
  140. offers enough strength to cure the problem.á K R Coton, Solihull.
  141. 8.2
  142. Å  Disabling POST test (and other useful Ébitsæ) Ö One of our customers
  143. found that because the POST (Power On Self Test, or the software that
  144. makes the screen flash pretty colours at switch on and flashes the
  145. floppy light at you when things go wrong), had been partly disabled,
  146. meaning that his SCSI drive was not given sufficient time to get ready
  147. before the SCSI card demanded its attention. Some people may have
  148. disabled this after installing certain versions of the VIDC enhancer.
  149. The POST will always be reactivated by a delete-power on, but there is a
  150. more subtle way of switching it on or off. Byte 188 (&BC) of the CMOS
  151. RAM contains 8 bits which affect various miscellaneous configuration
  152. options.
  153. 8.2
  154.   Bits 0-1  ROMFS Opt 4 state
  155. 8.2
  156.   Bit 2  cache icon enable state
  157. 8.2
  158.   Bit 3-5  screen blanker time: 0=off, 1=30s, 2=1min, 3=2min, 4=5min,
  159. 5=10min, 6=15min, 7=30min.
  160. 8.2
  161.   Bit 6  screen blanker/Wrch interaction: 0=ignore Wrch,
  162. 8.2
  163.     1=Wrch unblanks screen
  164. 8.2
  165.   Bit 7  hardware (POST) test disable: 0=full tests, 1=disable long
  166. tests at power-up.
  167. 8.2
  168. RISC OS 3 PRM, 1-358, Acorn Computers Ltd.
  169. 8.2
  170. The program disc contains a simple program for altering the state of any
  171. of these bits.á David Webb, NCS.
  172. 8.2
  173. Å  Inkjet printers and paper quality Ö A number of items have appeared
  174. here and elsewhere on how to realise to the full the potential quality
  175. of printouts with ink-jet printers. At 300 dpi, one would think it ought
  176. to be indistinguishable from the output from a laser printer with the
  177. same resolution.
  178. 8.2
  179. Why is there a problem? All papers are made from fibres, matted
  180. together; thus, if you put a drop of liquid onto a piece of paper, the
  181. fluid will flow between these fibres, carrying with it any dye or
  182. colourant: hence the fuzzy edges of the output from inkjet printers with
  183. unsuitable papers. Coating the paper can eliminate the problem, but at a
  184. substantial cost. However, with careful design of the paper making
  185. process, it is possible to minimise (though not eliminate) this
  186. Ébleedingæ.
  187. 8.2
  188. I wrote to Hewlett Packard and asked for their recommendations They came
  189. up with two types of paper and their suppliers. I got some samples, and
  190. both were very good but, by a small margin, ÉVersoix Copyæ seemed to me
  191. the better (and cheaper). The other, ÉReyjetæ, is close behind and both
  192. are streets ahead of most ordinary photocopier paper. Neither is very
  193. expensive (about ú3.00 per ream for Vesiox and ú5.50 for Reyjet) but
  194. neither are very readily available. If you write to the distributors,
  195. they will send you samples and the name of your nearest stockist.
  196. 8.2
  197. Versoix Copy Ö Darent Paper Agencies, Wandle House, Riverside Drive,
  198. Mitcham, Surrey, CR4 4SU. (0181-640-4102)
  199. 8.2
  200. Reyjet Ö Denian Paper Ltd, Unit D2, West Mill, Imperial Business Estate.
  201. Gravesend, Kent, DA11 0DL. (01474-569919)á Barry Humpidge.
  202. 8.2
  203. Å  Irregular text frames in Publisher Ö In response to one of Keith
  204. Parkeræs wish-it-did-that moans in the Comment Column (8.1 p31), I would
  205. suggest that whilst irregular text frames would be nice, the use of a
  206. regular frame öframedò by a couple of repelling irregular graphics
  207. frames (drag an empty drawfile into blank frames) does the job, with a
  208. little fiddling. áJohn McCartney.
  209. 8.2
  210. Å  Large banners in Impression Ö To create a six foot long banner, or
  211. similar, using Impression, create a new master page, öBannerò, width
  212. 72ö, depth 8ò, Landscape, margins 0.5 with one column. Quit the master
  213. pages and alter the chapter of the document, selecting öBannerò as the
  214. master page. Change the font size to around 400 point and centre the
  215. text. Type the banner message. Print out on tractor fed continuous paper
  216. (sideways!). Vector offers some useful banners ready made, or you can
  217. use Impressionæs Borders in ÉAlter Frameæ, to enhance the finished
  218. article.á Irene Quinn, Thetford, Norfolk.
  219. 8.2
  220. Å  Laser Direct on the Risc PC Ö If you are upgrading to a Risc PC and
  221. have an elderly Laser Direct card, it will not work if it is öIssue oneò
  222. (the computer will not initialise after the board has been plugged into
  223. one of the expansion slots). This type can be quickly identified by the
  224. fact that it is the only version where there is a ribbon cable
  225. connecting the circuit board to the printer output socket. Computer
  226. Concepts will exchange this type of board for the latest version for
  227. ú100. You will probably also need a copy of the most recent version
  228. (2.63) of the printer driver disc at ú10.á David Smith, Edinburgh.
  229. 8.2
  230. Å  More Sleuths on the case Ö If you are lucky enough to have lots of
  231. memory on your machine you can run two or more copies of Sleuth at the
  232. same time, so that if you are OCRing several pages of text, the rate of
  233. OCRing can be considerably increased. On a simple test run, two copies
  234. running saved 36% on the time taken and three copies saved nearly 50% on
  235. the time! It then occurred to me that using more than one copy might be
  236. infringing the software licence, but on checking with Risc Developments,
  237. I was assured that this was not the case. áPhilip Foster, Cambridge.
  238. 8.2
  239. Å  Turbo charging draft printing with a Deskjet printer Ö What I didnæt
  240. realise, until I tried it by accident, was that the ÉDraftæ button on
  241. the printer worked with graphic (e.g. output from Impression), as well
  242. as Éstraightæ printing. Thus, with your printer driver set to 150ádpi,
  243. and the Édraftæ light on, you can produce readable copies for proof
  244. reading in virtually no time at all!á Barry Humpidge.
  245. 8.2
  246. Å  Turbo Driver v4 and Dongles Ö If you are using CCæs Turbo Driver v4
  247. on a computer with a bi-directional parallel port, via a dongle, the
  248. status signals donæt get through. This includes signals, such as öpaper
  249. outò and öprinter offlineò etc. If the driver software is looking for
  250. these signals you may find that printing is blocked. To bypass the
  251. problem call up the configuration dialogue box and configure to ignore
  252. status signals.á Nick Harris, Norwich.ááAá
  253. 8.2
  254.  
  255. Hints and Tips
  256. 8.3
  257. Å  A3000 bulging case (Archive 8.2 p62)áÖáIn the hint last month, I
  258. suggested replacing the plastic cases of A3000 computers. In the text I
  259. sent to Paul, I made some mention of safety aspects but Paul edited them
  260. out. (Oops, sorry!) Please note that, for a variety of reasons,áyou
  261. should not attempt to change the bottom case if your power supply is the
  262. cardboard-covered type. If you are unsure, I would be happy for you to
  263. write to me or ring me on 01564-776745.á Keith Coton, 118 Purnells Way,
  264. Knowle, Solihull, B93 9ED.
  265. 8.3
  266. Å  Binder problemsáÖáA number of people have said that, when they
  267. reached the end of Volume 7, the last magazine wouldnæt fit into the
  268. binder. Let me assure you that they do fit in the binder (well, just).
  269. If you canæt get them in, it could be because you have been putting the
  270. rods into the holes instead of into the slots. The holes are there only
  271. for use when the volume is incomplete, i.e. with a half-full binder, the
  272. magazines tend to flop about and the rods easily come out unless you put
  273. the rod for the top issue into an appropriate pair of holes. I suppose
  274. we ought to send out instructions with the binders, but having used the
  275. same binders for 8 years, I forget that they are new to some of you.
  276. Sorry! Ed.
  277. 8.3
  278. Å  Day of the week functionáÖáI agree entirely with the basic message of
  279. Cain Huntæs article, öWhy bother programming?ò (8.1 p29). When I write
  280. number-crunching programs in Basic, I Éprintæ the results to a spool
  281. file, which I drag into Impression and format into a suitable
  282. presentation document.
  283. 8.3
  284. One helpful comment, if I may, is that the calendar shouldnæt need to be
  285. told the day of the week of January 1. The function to use (which
  286. returns a value in the range 0=Sunday to 6=Saturday) is:
  287. 8.3
  288. DEFFNNewYear(Y%)=(1+1461*(Y%Ö1)DIV4Ö(1+ (Y%Ö1)DIV100)*3DIV4)MOD7
  289. 8.3
  290. Colin Singleton, Sheffield.
  291. 8.3
  292. Å  Impressionæs single-file document iconáÖáIn Archive 8.2 p.19, Paul
  293. complained about the very dowdy grey icons that Impression Publisher and
  294. Style use for their documents.
  295. 8.3
  296. Fortunately, this is easily changed: All you have to do is look for the
  297. sprite called file_bc5 in the three directories !Sprites, !Sprites22 and
  298. !Sprites23 inside Impressionæs application directory, and the sprite
  299. called docsprites inside Resources.Sprites; you can replace them with
  300. whatever icons you prefer Ö I took the Impression II document sprite and
  301. changed its background from white to pale yellow to be able to tell the
  302. two types of documents apart.á Jochen Konietzko, K÷ln, Germany
  303. 8.3
  304. This was one of many similar suggestions. Thanks to all who attempted to
  305. put me out of my misery. My desktop is now resplendent with white Iæs
  306. and yellow Iæs, so now I can see which I is which. Ed.
  307. 8.3
  308. Å  Inkjet paper quality (8.2 p63)áÖáReyjet paper can be obtained from
  309. ÉStaples (Office Superstores)æ. The price, a few months ago, was ú2.39
  310. (+VAT) per ream. I have found these stores to be well worth a visit, in
  311. terms of both choice and price. Their catalogue contains a paper/printer
  312. type compatibility chart and lists five types suitable for b/w inkjets
  313. (from 80gsm to 100gsm, one in A3 size) and three for colour inkjets. The
  314. Superstores tend to be Home Counties-based (Croydon, High Wycombe, and
  315. Staples Corner in London) but they have other stores through the country
  316. (e.g. Leeds, Cambridge, Swansea, etc.) though I do not know if they
  317. carry full stocks.á Bob Bourne, Ware.
  318. 8.3
  319. If anyone canæt get Versoix paper locally, it is readily available from
  320. Viking Direct at ú5.49 per ream or ú19.95 per 5 reams, both excluding
  321. VAT and delivery. Eight reams or more are delivered free, usually
  322. overnight. Viking Direct are on Freephone 0800-424444 and have a very
  323. wide range of general computer and office supplies.á Jim Nottingham,
  324. York.
  325. 8.3
  326. Å  Impressionæs öSome fonts not foundò ÖáSince the arrival of Impression
  327. Style and Publisher, I have read repeated complaints about the fact that
  328. both versions still replace fonts that have been used in a document but
  329. are currently not available, with the default font. Coupled with this
  330. complaint, usually, is a wish that there should be an option to abort
  331. and install the missing fonts (most recently in Archiveá8.1, p.31).
  332. 8.3
  333. I canæt quite see the point of these complaints. I work with just three
  334. or four fonts most of the time, so that one of the all-singing, all-
  335. dancing font handlers like FontDirectory would be a waste of money for
  336. me. Therefore, I have simply distributed my fonts over four directories
  337. Ö a small one with those few fonts that I use most often and, one step
  338. down in the directory structure, the rest, grouped according to their
  339. general look.
  340. 8.3
  341. When Impression Style now gives out its önot foundò message, all I have
  342. to do is let RISC OS 3.10 öseeò the relevant font directory, then press
  343. <f12><return>, and the missing font will be loaded into Style.
  344. 8.3
  345. Problems really only occur when you load someone elseæs document with
  346. fonts which you donæt have. In this case, it would be nice if Impression
  347. gave the option to choose the replacement font. You could then use
  348. something really noticeable like Dingbats, so that it would be easy to
  349. locate the style or effect that needed changing. áJochen Konietzko,
  350. K÷ln, Germany.
  351. 8.3
  352. Å  NoCaps IIáÖáAfter the hint in Archive 8.1 regarding disabling the
  353. capslock key I had a request for a version that would respond normally
  354. to capslock, but turn it off when shift was pressed. This could be
  355. useful for things like postcodes, where it is easier to turn capslock on
  356. than to get confused about when you need to press <shift>. Rather than
  357. adding this functionality to the original module, I generated a new
  358. version, which is more economical on space than having both in one, and
  359. you are only likely to use one or the other. The two modules are on this
  360. monthæs disc as NoCaps (disable capslock as before) and SNoCaps (shift
  361. disable capslock).á Matthew Hunter, NCS.
  362. 8.3
  363. Å  Powersave & librariesáÖáSeveral people have expressed interest in the
  364. powersave program from issue 8.1 of Archive, but have had difficulty
  365. incorporating it into their !Boot sequence. I will therefore describe
  366. how to install it. (The methods apply equally to other command line
  367. programs you may wish to run Ö just replace powersave in the description
  368. below with the program you wish to install.)
  369. 8.3
  370. There are three basic ways around this problem. The first thing to do
  371. (whichever method you use) is to find your boot file. If your machine
  372. has RISC OS 3.11 or earlier, the boot file will be in the root directory
  373. of your hard disc (unless you have moved it). On the Risc PC you will
  374. have to hold down shift (to open application directories) and double-
  375. click on !Boot, Choices, Boot, Tasks, in that order, as you go down the
  376. directory structure (clicking with <adjust> each time will close the
  377. previous filer window Ö useful in this situation). Once you have located
  378. your boot file (called É!Bootæ) hold shift and double-click on it to
  379. load it into !Edit. Find where in the boot sequence you wish to run the
  380. program and insert a blank line. Make sure the cursor is at the start of
  381. the blank line, ready for the command that will execute the desired
  382. program.
  383. 8.3
  384. Probably the easiest method is to use an absolute reference. Copy
  385. powersave somewhere Ésafeæ and preferably out of the way so that it does
  386. not clutter the hard disc. Type öRUN ò and then hold down <shift> and
  387. drag the Épowersaveæ icon, from where you put it, into the text window
  388. containing the boot file set up above. When you release <select>, you
  389. should see the full pathname appear in the text file following the run
  390. command. You can then set up the parameters as described below.
  391. 8.3
  392. The second possibility is to set aside a special directory where you
  393. keep all your command line programs. Fortunately, Acorn provide such a
  394. system, the Library directory, which on pre-Risc PC machines is, by
  395. default, a directory called ÉLibraryæ in the root of your hard disc. On
  396. the Risc PC, there is a directory inside the !Boot application, also
  397. called ÉLibraryæ. Open the appropriate Library directory and copy
  398. powersave into it. You can then type Épowersaveæ into the blank line in
  399. the boot file ready for the parameters to follow.
  400. 8.3
  401. This is fine except that it relies on default settings, and puts
  402. programs into Library that you only use very rarely. The method I use
  403. therefore is to put the programs, and utility applications that I load
  404. only during the boot sequence (backdrop picker, configuration tester,
  405. for example), into a directory, say ÉBootLibæ. I then have a line in my
  406. Boot file Éset BootLib$Path full::pathname.$.for.BootLib.æ as
  407. appropriate for the location of the BootLib directory. Again, this can
  408. be found by Shift-dragging BootLib into the text editor, but note that,
  409. to be successful, the path must end with a full stop. I can then run any
  410. program in Bootlib with the command ÉBootLib:prognameæ. This is longer
  411. for a single program, but I only have to set bootlib once, and then
  412. reference it several times. I have an absolute reference, so the default
  413. settings do not affect it, and the library directory is kept for
  414. frequently used programs. It is also far simpler to move the directory Ö
  415. if you use the first method, you have to re-enter the full pathname for
  416. every program that has moved. If I move BootLib, however, I only have to
  417. change the line where BootLib is set, and all the programs will work as
  418. before.
  419. 8.3
  420. Once you have got the program ready to run by one of the three methods
  421. above, all you need to do is to add any parameters to the end of the
  422. line as appropriate for the program. In the case of powersave, an
  423. example would be Édelay 4 120æ for a two minute inactivity delay before
  424. spinning down the drive. Do not use Éspindownæ in your boot sequence.
  425. Doing so will force the drive to spindown part way through the boot, and
  426. immediately spin back up again, causing unnecessary strain.á Matthew
  427. Hunter.
  428. 8.3
  429. Å  Publisher: editing effectsáÖáIt is possible to edit effects as if
  430. they were styles and even then to turn them from effects into styles. If
  431. you look inside !Publisher, in the Resources directory is a file called
  432. UK. In it is a line: öCnf1:ò and if you change this to read öCnf1:Eò and
  433. re-save it, then from the next time you load Publisher, you will find
  434. that effects become editable just as if they were styles.
  435. 8.3
  436. This partially solved a problem caused by the change to Publisher.
  437. 8.3
  438. With Impression II, when articles came in that had bits in bold, I would
  439. just put them into the magazine and the öboldò bits would come out as
  440. Plantin.Semibold. (I prefer to use Plantin.Bold because the body text is
  441. Plantin.Light and the full bold face, although OK for headings, looks
  442. too dark within the body of the text.) This worked because, prior to
  443. Style and Publisher, anything using the bold effect was given the name
  444. öboldò and, in the magazine, the öboldò style was defined as using
  445. Plantin.Semibold.
  446. 8.3
  447. However, if contributors us <ctrl-B> for bold, when I load it into the
  448. magazine, it forces the text into Plantin.Bold. At first, I had to edit
  449. öby handò every single occurrence of the bold effect, changing it into
  450. my bold style! The way I now get round it is to go to the incoming file,
  451. click on a piece of öboldò text and press <ctrl-f6> to edit the style.
  452. The effect then appears in the style editing window as something like
  453. öEffect17ò, or whatever. All I have to do then is to change this name to
  454. öBoldò and this then becomes a style rather than an effect and, when
  455. loaded into the magazine, it automatically assumes my Plantin.Semibold
  456. style.á Ed.
  457. 8.3
  458. Å  Publisher: finding styles and effectsáÖáIf you are given a document
  459. that contains a huge range of effects and styles, as I often am, it is
  460. good to simplify it before pasting it into another document. (You would
  461. be amazed at the complex combinations of styles and effects people use
  462. in their documents!!) You have the choice of a quick <ctrl-A><ctrl-N> to
  463. remove all styles and effects and then re-insert the styles you really
  464. want or of leaving in some styles and removing others. But how do you
  465. know which style/effect does what? Well, styles are easy because you can
  466. use search and replace to find them. The menu button next to the öFind
  467. what:ò box allows you to enter the name of a style. Then add an ö@ò and
  468. it will find the first occurrence of anything in that style.
  469. 8.3
  470. Finding effects is more tortuous and can only be achieved if you have
  471. used the Cnf1:E trick mentioned above. So, if you press <ctrl-A> and
  472. look across on the Style menu, you will see a list of ticked styles and
  473. effects. Suppose you decide you want to find what and where öEffect 598ò
  474. is. The trick is that you double-click on a word and use the Style menu
  475. option to apply Effect 598 to it. Pressing <ctrl-f6> will then bring up
  476. Effect 598 on the Edit style window. Click on öShow on style menuò and
  477. OK it. Now you can go to the top of the document and use <f4> to find
  478. that effect as it will now appear on the find style menu. The only bit
  479. of really bad planning here is that, if you want to look at each of the
  480. occurrences of this effect and get rid of some of them, you cannot use
  481. <ctrl-N> to remove the effect because <ctrl-N> is taken to mean önext
  482. matchò when you are searching! Drat! Keystroke to the rescue again. I
  483. have programmed <alt-N> to give me the menu selection, Style Ö Clear all
  484. styles. Ed.
  485. 8.3
  486. Å  Screenload on the Risc PCáÖáIt has been pointed out that the
  487. *screenload command appears to work differently on the Risc PC from
  488. previous machines, in that it no longer loads into the current graphics
  489. window but loads at the bottom left corner of the screen instead. In
  490. fact the operation has not changed, but is modified by the new mode
  491. system. A screenload will load the sprite to the screen, changing mode
  492. if necessary, and it is the mode change that causes the problems. For
  493. example, if, while in mode 31, you screenload a sprite, defined in mode
  494. 27, the computer will change to mode 27 first. Changing mode redefines
  495. the graphics window, so you will find that (on any machine) the result
  496. of the following program will be to place the sprite in the bottom left
  497. hand corner of the screen (assuming there is a sprite called Étestæ,
  498. defined in mode 27 in the currently selected directory).
  499. 8.3
  500. MODE 31
  501. 8.3
  502. VDU 24;100;100;600;600;
  503. 8.3
  504. *SCREENLOAD test
  505. 8.3
  506. This is because the graphics window set by the VDU 24 is reset by the
  507. mode change implied in the *screenload. Adding the lines.
  508. 8.3
  509. VDU 24;200;200;600;600;
  510. 8.3
  511. *SCREENLOAD test
  512. 8.3
  513. to the end of the program will successfully move the sprite to 200,200
  514. before plotting... except on the Risc PC. This occurs because the mode
  515. is already set to 27, so the mode is not changed, and the graphics
  516. window remains intact. The problem with the Risc PC is that when the
  517. machine tries to change into mode 27 (after the first screenload) it
  518. ends up as a 640 by 480, 16 colours, 60Hz mode. Therefore, although the
  519. sprite is loaded, the machine is not actually in mode 27, so the next
  520. screenload also tries to change to mode 27, resetting the graphics
  521. window again. Unfortunately changing the mode in which a sprite is
  522. defined is does not cure the problem. If you need to move the sprite
  523. away from the bottom left corner, you will need to use sprite calls to
  524. load and plot the sprite yourself.á Matthew Hunter, NCS.
  525. 8.3
  526. Å  Style file sizeáÖáThe Impression Style manual says that: öDeleting
  527. unused master pages does not make the document significantly smallerò
  528. (page 180) and öSingle file format has the advantage that files are
  529. smaller. This is useful for short documents such as lettersò (page 17).
  530. However, there is no comment on the merits of deleting unused styles, so
  531. I thought I would check it out.
  532. 8.3
  533. Taking a two page letter built on a letter master page and with a sprite
  534. picture (25,240 bytes), I have tested these statements out. The Info Box
  535. gave:
  536. 8.3
  537. Document  Pages: 2  Size: 171Kb
  538. 8.3
  539. Text  Stories: 19  Memory: 6Kb
  540. 8.3
  541.   Chapters: 1  Words: 452
  542. 8.3
  543. Graphics  Pictures: 5  Memory: 147Kb
  544. 8.3
  545. When saved, the document took up 175,912 bytes (single file) or 176,543
  546. bytes (directory)
  547. 8.3
  548. The reason for the massive size is that I had four master pages for
  549. different letter-type documents, each with the logo graphic. So, after
  550. removing three unused master pages, the document took up: 42,792 (single
  551. file) or 44,367 (directory).
  552. 8.3
  553. The document had fifteen other unused master pages which took up between
  554. 188 and 1,216 bytes each Ö when all were removed, the document shrank
  555. to: 35,316 (single file) or 36,851 (directory).
  556. 8.3
  557. If I saved the text only, with no style information, it only occupied
  558. 2,332 bytes.
  559. 8.3
  560. As I already have the picture stored elsewhere, I only need to keep the
  561. text and that does not need any style or frame information and so my
  562. final storage needs will not be 176Kb but about 2Kb which can then be
  563. very effectively archived.
  564. 8.3
  565. What I have learnt from this: (1) save all writing as text files if
  566. possible, (2) redundant styles do not take up a large amount of space
  567. and there is no benefit in removing them for storage reasons and (3) be
  568. careful how many times you save graphics, especially in dormant master
  569. pages!
  570. 8.3
  571. I will now remove many of the master pages from my default document and
  572. save them in separate documents (or in useful groups as I donæt think
  573. you can merge master pages into one document!) for when I need them.
  574. This will also have the knock-on effect of having smaller initial
  575. documents in memory which will load more quickly! áRobert Lytton,
  576. Leeds.ááAá
  577.  
  578. Hints and Tips
  579. 8.4
  580. Å Risc PC monitor configuration Ö One of the biggest problems people
  581. have had with the Risc PC is finding that their machine will not drive
  582. the monitor correctly, either because they are using a non-standard
  583. monitor, or they have accidentally configured the machine incorrectly.
  584. The !Mon application aims to rescue you from this situation.
  585. 8.4
  586. The program has a number of local monitor definition files, which it
  587. will try in turn. One of them should give a usable display on your
  588. monitor, after which you should set up your machine again so that the
  589. configuration is correct.
  590. 8.4
  591. In order to use the program, you will need to do the following, typing
  592. blind where necessary:
  593. 8.4
  594. a) Turn on the computer and wait for it to finish booting up (wait until
  595. the hard disc activity stops).
  596. 8.4
  597. b) Insert the program disc into the floppy drive.
  598. 8.4
  599. c) Press <f12>.
  600. 8.4
  601. d) type öadfsò and press <return>.
  602. 8.4
  603. e) type ömount 0ò and press <return>.
  604. 8.4
  605. f) type östartò and press <return>.
  606. 8.4
  607. This will start the program and try the first monitor definition file
  608. AKF11/12 which will not work on the AKF60æs/85æs supplied with the Risc
  609. PC, but it is better to try this one first than a high end monitor
  610. definition file which could damage a TV resolution monitor. You can
  611. cycle through the available monitors by pressing <space>. Alternatively
  612. you can jump to any of the files by pressing the appropriate number key,
  613. the most useful are 4 (AKF60) and 5(AKF85). When the program loads a new
  614. monitor definition file it will pause for two seconds, to give the
  615. monitor time to catch up, and then beep. If you have a stable pictureÇ,
  616. press <y> to finish, followed by <return> to get back to the desktop.
  617. Note that this will not reconfigure your machine ù if you switch off
  618. without reconfiguring, you will have the same problems next time ù but
  619. it will get you a working system. This program is on the monthly program
  620. disc. Matthew Hunter, NCS.ááAá
  621.  
  622. Å  DPatch/DongleKey ù This program was on the Archive 7.9 Program Disc
  623. to unlock Impression/Artworks dongles which otherwise can prevent
  624. printing taking place.
  625. 8.5
  626. If all CC dongles are removed from a machine, DPatch must be deleted
  627. from the !Boot file. Without a dongle fitted, DPatch will cause all
  628. printer output to be corrupted. I discovered this when transferring
  629. Publisher and Artworks from A5000 to Risc PC and attempting to set up
  630. the A5000 with a Star XB24-10. The Risc PC does not need the patch to
  631. allow printing to go ahead in the absence of Publisher or Artworks. S
  632. Goddard, Bury St Edmunds.
  633. 8.5
  634. Å  Garbled *Screensave: This is a cross between a bug-report and a note
  635. saying, öIf this happens to you, youære not going madò. Iæve just
  636. started using !Quickshow, a neat little slide-show utility from DeskTop
  637. Projects. When it saved a completed screen to disc, it seemed to write a
  638. garbled sprite, with blocks of the sprite moved around internally.
  639. Examining the code showed that the program simply displays the sprite on
  640. screen and then does a *Screensave to write the sprite to disc.
  641. Furthermore, the corrupting of the sprite didnæt occur when I wrote to
  642. floppy rather than to my hard disc. Writing a one-line Basic program to
  643. perform a screen dump replicated the bug absolutely consistently, and
  644. only in mode 15. I conclude that, on my A310, RISC OS 3.10, with version
  645. 1.16 of the Oak SCSI software, with a 270Mb Quantum drive, in mode 15,
  646. *SCREENSAVE to the hard disc has a bug ù somewhere! I donæt know what to
  647. suspect, but if you ever encounter garbled sprites, donæt blame the
  648. application ù or tear your hair out!á Stuart Bell, Horsham.
  649. 8.5
  650. Å  Tablemate warning Ö Unless your table is small, DO NOT type your data
  651. directly into Tablemate. Instead, type it into a CSV file using Edit and
  652. import that. I have two tables several pages long and did not import the
  653. text. As a result the only way I can now edit them is by exporting
  654. drawfiles and patching them back together.á Peter Bond, Carnforth.ááA
  655. 8.5
  656.  
  657. Hints and Tips
  658. 8.6
  659. Å  DPatch/DongleKey Ö Contrary to S Goddardæs comments about DPatch (8.5
  660. p32), in my experience, DPatch is needed on the Risc PC if a Publisher
  661. dongle is fitted, but Publisher has not been loaded. Any comments?á F
  662. Jukes, Leeds.
  663. 8.6
  664. Å  Mode summary Ö This was written for those with hires/multisync
  665. monitors and shows what is available.
  666. 8.6
  667. The choice of screen mode is a trade-off between the various factors and
  668. how much you want to get on the screen and one time.
  669. 8.6
  670. Refresh speeds depend on the individual, but I find the 51Hz of mode 102
  671. flickers too much on my monitor, so I designed 107. The higher the
  672. better with refresh rates.
  673. 8.6
  674. Speed refers to how much the screen mode slows down the ordinary Acorn
  675. computer. To keep the screen re-drawing quickly, use a mode with a
  676. higher figure.
  677. 8.6
  678. Square screen modes give a better idea of what the final result will be
  679. like, though rectangular modes are usually quite adequate except for
  680. accurate graphic work.
  681. 8.6
  682. All the information was gathered using Flip Top from Computer Concepts.á
  683. Steve Hutchinson, Gloucester.
  684. 8.6
  685. Å  Style/Publisher file sizes Ö Robert Lytton was writing about graphics
  686. eating up disc space when used on several master pages within an
  687. Impression document. I had the same problem with my östationeryò
  688. document, containing master pages for A4 letterhead, A5, US letter (for
  689. sending a fax to North America), comp slip, etc Ö each had my squiggly
  690. logo Ö about 30Kb compressed.
  691. 8.6
  692. I was pleased to find that Impressionæs ÉSelect-Adjust trickæ works:
  693. Make a blank frame on each master page, drop the graphic into one of
  694. them, then click <Select> on it and <Adjust> in all the others. Bingo!
  695. The graphic appears wherever you want it but only once in memory. The
  696. ömasterò chapter behaves in the same way as ordinary chapters in the
  697. document. Jim Nagel, Glastonbury.
  698. 8.6
  699. Å  Updating software Ö When updating a piece of software, it is tempting
  700. to simply copy the new version over the old version with the newer
  701. option set. This is not ideal, however, since it leaves old redundant
  702. files in the application, taking up space. Therefore it is better to
  703. delete the old version (or move it elsewhere if you are worried about
  704. losing it) before installing the new. Roger Darlington, Manchester.ááA
  705. 8.6
  706. Mode  Size  Memory   Refresh  Speed  Colours   Shape
  707. 8.6
  708. Acorn standard modes
  709. 8.6
  710. 12  640╫256  96k  100Hz  4.79  16  Rect
  711. 8.6
  712. 20  640╫512  160k  51Hz  4.7  16  Square
  713. 8.6
  714. 21  640╫512  320k  51Hz  2.59  256  Square
  715. 8.6
  716. 27  640╫480  160k  59Hz  4.57  16  Square
  717. 8.6
  718. 28  640╫480  320k  59Hz  2.12  256  Square
  719. 8.6
  720. 31  800╫600  256k  37Hz  4.69  16  Square
  721. 8.6
  722. 39  896╫352  160k  60Hz  4.51  16  Rect
  723. 8.6
  724. 40  896╫352  320k  60Hz  2.08  256  Rect
  725. 8.6
  726. Modes from Newmodes, VIDC enhancer or WW modes
  727. 8.6
  728. 66  832╫288  128k  79Hz  4.57  16  Rect
  729. 8.6
  730. 67  832╫288  256k  79Hz  2.03  256  Rect
  731. 8.6
  732. 98  800╫600  256k  57Hz  4.99  16  Square
  733. 8.6
  734. (99 should be 256 colour version, but my Taxan 770+ wonæt work with it)
  735. 8.6
  736. 102  1152╫448  256k  51Hz  5.06  16  Rect
  737. 8.6
  738. 107  1088╫432  256k  60Hz  5.13  16  Rect
  739. 8.6
  740.  
  741. Hints and Tips
  742. 8.7
  743. Å  Desktop Font Ö If you find you are losing information on RISC OS 3.5 
  744. because your desktop font means that characters are truncated in icons 
  745. designed to take the System font, remember that you can select the 
  746. system font, until software producers catch up. Alternatively you can 
  747. edit the offending templates using FormEd, or similar. Peter Prewett, 
  748. South Australia.
  749. 8.7
  750. Å  öGang screenò in RISC OS 3.5 Ö In RISC OS 3.10 there is a hidden 
  751. ögang screenò, showing the names of the people who worked on the 
  752. version; does anyone know if such a thing also exists in version 3.5? Or 
  753. can it be that the developers have, this time, only put that picture 
  754. into the ö50-99ò directory of !SlideShow images?á Jochen Konietzko, 
  755. K÷ln, Germany.
  756. 8.7
  757. If you open the RISCáOS 3.5 info window (press <menu> over the iconbar 
  758. acorn) and use the menu button to click out the word öteamò on the 
  759. letters of öAcorn Computersò, it will initiate a list of names for you.á 
  760. Matthew Hunter, NCS.
  761. 8.7
  762. Å  !KeyStrokeæs KeysLib Ö If you use KeyStroke, you should take a close 
  763. look at the small Basic programs inside the KeysLib library Ö some of 
  764. them are very useful!
  765. 8.7
  766. My personal favourites are forceAback and forceAfront which give you 
  767. quick access to parts of the Pinboard hidden by a window. ForceAback 
  768. puts all windows behind the Pinboard (you can see that they arenæt 
  769. simply closed if one of them extends down onto the iconbar) and 
  770. forceAfront reverses the process. To hide the windows, you define a 
  771. keystroke for a *Command:
  772. 8.7
  773. Text: *Run <Keystroke$Lib>.forceAback
  774. 8.7
  775. The equivalent text for forceAfront will make the windows reappear. Of 
  776. course, you must make sure that the filer has Éseenæ KeysLib for this to 
  777. work.á Jochen Konietzko, K÷ln.
  778. 8.7
  779. Å  Long file names in RISC OS 3.5 Ö In Archive 8.6 p.68, Keith Hodge 
  780. made a little wish list for future versions of RISC OS; one of those 
  781. wishes was Élong file namesæ. The manual for the German RISC OS 3.50D 
  782. does indeed state that a name must be between one and ten characters 
  783. long but this does not seem to be the whole truth. I have grown 
  784. accustomed to using the Cropping option in RISC OS 3.10, which meant 
  785. that I did not have to count if the intended name had exactly ten or 
  786. maybe more letters but on my Risc PC those slightly too long names are 
  787. not cropped!
  788. 8.7
  789. As the picture shows, it is possible to type in up to 30 characters 
  790. before there is an error message öName too longò. This seems to work 
  791. only in MemFS Ö surely there should be a way to implement it 
  792. everywhere?á Jochen Konietzko, K÷ln.
  793. 8.7
  794. (This doesnæt seem to work on the UK version of RISCáOS 3.5. Ed.)
  795. 8.7
  796. Å  Saving Wolfenstein games Ö Have you, too, noticed that sometimes, 
  797. when you save a game in Wolfenstein 3D, the name disappears, giving an 
  798. Éemptyæ slot in the Save window?
  799. 8.7
  800. If you have, you probably use CCæs !Compression. I have found that on my 
  801. RISC PC, as long as the !CFS.!Run file is open, the save option of 
  802. Wolfenstein 3D does not work properly (If you donæt know how to find out 
  803. which files are open, thereæs a little PD utility called !FileMan which 
  804. lists all open files and allows you to close them one by one.)á Jochen 
  805. Konietzko, K÷ln.
  806. 8.7
  807. Å  Talking !Alarm Ö I have always wanted to have alarms which spoke to 
  808. me but I could not find a way to do this. When I dropped sound files 
  809. onto the Alarm Set window, all I got was a silent graph from Audioworks 
  810. or Soundlab. However, there is a way, thanks to an idea given to me by 
  811. David Pratt who used to run GemPD. I have used this on the Risc PC, but 
  812. I see no reason why it shouldnæt work on any other machine. There is 
  813. probably a clever Éprogrammers typeæ way to do this, but I am a simple 
  814. Édrag and dropæ person with no programming skills at all. You just need 
  815. two small Utilities obtainable from PD. They are !Compress and !Player 
  816. both by David Radford and obtainable from Datafile.
  817. 8.7
  818. Using the Oak Recorder and !Soundlab, make Armadeus files of anything 
  819. you want Alarm to tell you. My first recording was of my wife saying 
  820. öItæs midnight Ö time to come to bed!ò I also recorded snippets like 
  821. öCoffee timeò and, I have to confess, öTime to watch Neighboursò.
  822. 8.7
  823. Using !Compress, make compressed versions of these files. You must not 
  824. keep the uncompressed files in the computer or !Player seems to get 
  825. confused and an unholy row erupts!
  826. 8.7
  827. Now load !Player into your Risc PC Bootfile in Choices.Boot.Tasks. When 
  828. you drop one of the compressed sound files into the Alarm Set window, 
  829. choose Task alarm and set the time and day, !Player in the boot file 
  830. activates the sound exactly on time. 
  831. 8.7
  832. öAre there any drawbacks?ò I hear you cry. Well, I found that having 
  833. done their job, the compressed sound files seem to remain open, so that 
  834. when the computer boots up each morning it goes happily through each 
  835. recording again playing them until finished. But a small price to pay 
  836. for having a talking chum who tells you what to do each moment of the 
  837. day. No doubt there will be someone who can tell us how to stop this 
  838. little problem.á Christopher Jarman, Winchester.
  839. 8.7
  840. Å  Turbo Drivers and Printers 1.28 Ö the current versions of the Turbo 
  841. Drivers complain that they need a later version of !Printers when you 
  842. try to install them into the latest version of !Printers, currently 
  843. being shipped with new Risc PCs. This can be circumvented by copying the 
  844. install program to your hard disc, and editing the copy by removing line 
  845. 91 of the !RunImage file (that is the 91st line of the program, not 
  846. Basic line 91). The Turbo Drivers should then install correctly. If you 
  847. do not wish to attempt this then get in contact with Computer Concepts. 
  848. CC Technical Support.ááA
  849.  
  850. Hints and Tips
  851. 8.8
  852. CC Turbo Driver v4 Ö Iæd like to pass on to other Archive readers some 
  853. answers that I received from CC.
  854. 8.8
  855. 1) The command *Printer$BlackScale is no longer supported by the v4 
  856. TurboDrivers; instead, CC offer ösophisticated colour correction 
  857. tablesò; those for HP printers are öshortlyò to be released.
  858. 8.8
  859. 2) The Turbo module which could be used in earlier versions of the TD to 
  860. enable other printer drivers to use the dongled cable has been replaced 
  861. by the program !PrintQFS, which is cunningly hidden within 
  862. !System.!CCShared.
  863. 8.8
  864. By the way, CC informed me that Style has reached version 3.07. Free 
  865. upgrades from v. 3.04 can be obtained in the usual way Ö by sending in 
  866. master disk 1. (Donæt forget to send the return postage!)
  867. 8.8
  868. Jochen Konietzko, K÷ln, Germanyáu 
  869. 8.8
  870. Fireworkz Pro Ö I reported some problems with version 1.20 to Colton 
  871. Software and was told (in a letter dated 15th March) that the latest 
  872. version, 1.20/50, fixes most of these problems. Version 1.21 öis due out 
  873. in about three weeksò. (Colton are currently saying, öit will be 
  874. available during Aprilò. Ed) The upgrade procedure here is to send in 
  875. both program disks Ö donæt forget Ö return postage!
  876. 8.8
  877. Jochen Konietzko, K÷ln, Germanyáu 
  878. 8.8
  879. Printing from text editors Ö Iámentioned, in my review of lottery 
  880. packages, that one of them would not print on my LaserDirect, because it 
  881. Éprintsæ to a null file instead of to the printer. I have now stopped 
  882. trying to use Zap for the same reason. If I drag a text file to the 
  883. printer icon (with Zap installed instead of Edit), it prints properly 
  884. but if I try to print the document currently displayed on the screen, it 
  885. does not. I donæt know whether this is a general problem or whether I 
  886. have overlooked some control parameter.
  887. 8.8
  888. Colin Singleton, Sheffieldáu 
  889. 8.8
  890. Many text editors, including both Edit and Zap, cheat when you try to 
  891. print and send the data directly to the parallel port. This is fine if 
  892. you have a standard printer, but if you use a different connection (e.g. 
  893. serial or laser direct), the file will not be printed. Also, if you use 
  894. a Turbo Driver, it is circumvented by Edit, so the text is corrupted. 
  895. There are a couple of ways around this.
  896. 8.8
  897. You can save to a file and drag that to the printer icon, or try 
  898. dragging the file from the save box to the print icon. This should have 
  899. the same result and it means that you donæt have to delete the file 
  900. afterwards. With Zap, you can also press <shift-print> rather than 
  901. <print> which will force the printout to go via the printer driver. 
  902. Since Zap allows you to reconfigure the keyboard shortcuts, you can set 
  903. <print> to print via the printer driver. (Choose Edit keys from the 
  904. options submenu, find the print keymapping which, by default, will be 
  905. set to Quickprint and change it to Printfile. Save the keys file and 
  906. choose Reload keys again, from the options submenu for the change to 
  907. take effect).
  908. 8.8
  909. Matthew Hunter, NCSáu 
  910. 8.8
  911. Wolfenstein bugs Ö A few days after I had sent my Wolfenstein hint 
  912. (Archive 8.7, p.12) to Paul, I found that sometimes the saved files 
  913. remained open even though the !Cfs.!Run file was not.  I turned to 
  914. PowerSlave for help and this is what Eddie Edwards told me:
  915. 8.8
  916. There is a bug in Wolfensteinæs code which means that the files are only 
  917. closed when the current directory is on the same filing system as 
  918. Wolfenstein. Since I use ADFS and SCSI, this would often not be the 
  919. case.
  920. 8.8
  921. The recommended remedy is to add, at the start of the !Run file, a 
  922. Dir<Obey$Dir> command.
  923. 8.8
  924. This fix seems to work perfectly.
  925. 8.8
  926. Another problem I have is that Wolfenstein always kills my computeræs 
  927. beep. This bug can be fixed by adding:
  928. 8.8
  929. Channelvoice 1 MyVoice
  930. 8.8
  931. to the end of the !Run file.
  932. 8.8
  933. Jochen Konietzko, K÷ln, Germanyáu 
  934. From COmment COlumn
  935. Turbo Drivers (not a) problem Ö The problem of Printers 1.28 with the 
  936. current versions of the Turbo Drivers has, apparently, now been fixed, 
  937. so please do not remove line 91 (as we stated in Archive 8.7 p13) of the 
  938. !RunImage file! If you still have a problem, contact Computer Concepts.
  939. 8.8
  940. CC Technical Supportáu 
  941.  
  942. Hints and Tips
  943. 8.9
  944. Canon BJ200 + CC TurboDriver Ö Iáhave had a number of problems with this 
  945. combination, and thought my solutions may help others.
  946. 8.9
  947. The first problem concerned the output of IBM ProPrinter strings. These 
  948. occur because the BJ-200 printer definition file supplied is an IBM 
  949. definition file, and should therefore be labelled as BJ10 since IBM 
  950. strings cannot be used in BJ200 mode. The converse also applies, i.e. 
  951. BJ-10 mode cannot handle Epson strings. I then used an Epson printer 
  952. definition file from the Acorn supplied discs, and all the problems 
  953. disappeared.
  954. 8.9
  955. The second problem concerned printing from Basic. I have written a WIMP 
  956. application which writes out a series of results for the bridge club of 
  957. which I am a member. I need to write direct from Basic so that I can 
  958. alter the print style and line and row spacing to produce the best 
  959. layout, using the comprehensive spacing and styles provided in BJ200 
  960. mode. It makes no sense to write these strings to the screen so I use 
  961. *FX3,10 to start the printed output and *FX3,0 to stop it. Everything 
  962. prints perfectly, but a drawfile will not print afterwards. I eventually 
  963. discovered that the *FX3,10 caused a Turboqueue file to be created, but 
  964. the *FX3,0 command leaves the file open and thus hangs the printing 
  965. process. I finally received a letter from CC today and I quote:-
  966. 8.9
  967. öRegarding the Basic printing Éproblemæ. The operating system itself 
  968. will not close the printout file after a *FX3,0. Indeed, we have 
  969. reported this as a bug to Acorn. However, if you immediately follow the 
  970. *FX3,0 command with a VDU3, then the file will close correctly.ò
  971. 8.9
  972. I have tried it and it works!
  973. 8.9
  974. John Wallace, Crawley
  975. 8.9
  976. CD-ROMs Ö With the advent of magazine CD-ROMs, which usually come in a 
  977. soft plastic sleeve, the safe storage of these can be made using a 5╝ö 
  978. disc box.
  979. 8.9
  980. Ted Lacey, Southampton
  981. 8.9
  982. Cursor movements in Publisher Ö There have been moans about one aspect 
  983. of Impression Publisher in various Acorn magazines: <shift-cursor> no 
  984. longer moves the cursor by one word, but is used for selecting text.
  985. 8.9
  986. In the latest version (1.05) of Publisher, the Preferences dialogue box 
  987. contains the option öShift Cursor Word Moveò, so you can take your pick.
  988. 8.9
  989. Jochen Konietzko, K÷ln, Germany
  990. 8.9
  991. Debugging via the serial port Ö Why has no-one extolled the virtues of a 
  992. second machine connected via the serial port? Even on the old BBC B, 
  993. this can be very useful. A trivial Basic program on the second machine 
  994. will print out the incoming data stream. Debugging time can then be cut 
  995. by such simple things as
  996. 8.9
  997. os_cli(echo Start of initialise() {serial: });
  998. 8.9
  999. in a C file. Clearly this is rather basic; a variadic function like 
  1000. printf() is much more flexible, but the general usefulness, especially 
  1001. when working on desktop applications, is considerable. Besides, there 
  1002. must be lots of old machines around gathering dust. I use an old mono 
  1003. Kaga monitor Iæve had since soon after the BBC first came out, and an 
  1004. old 310 with no disc drive.
  1005. 8.9
  1006. John West, Surrey
  1007. 8.9
  1008. Deskjet 540 problems Ö I recently bought an HP DeskJet 540, the 
  1009. replacement for the DJ520 and then spent a frustrating weekend trying to 
  1010. get it to work with my A5000. I got beautiful printouts but it took half 
  1011. an hour to print an A4 page. I tried the latest Acorn DeskJet driver 
  1012. sent to me by Gerald Fitton, but it was no better than previous 
  1013. versions.
  1014. 8.9
  1015. As soon as Monday came, I phoned Acorn and they had just heard from 
  1016. their Australian office that other people had similar problems. Since 
  1017. the DeskJet 540 is software controlled and the Centronics protocol has 
  1018. been slightly modified, the 540 and A5000 were incompatible.
  1019. 8.9
  1020. The earlier Deskjet 520 was perfectly suitable to work with the A5000 
  1021. but it was now officially off the market. Fortunately, the shop where I 
  1022. purchased the 540 gave me a full refund when I explained the dilemma, 
  1023. and I knew that I had seen a 520 recently in another store. I was lucky 
  1024. and purchased the last one in stock Ö its monochrome resolution 600 by 
  1025. 300 is the same as the 540 but it does not have the colour upgradability 
  1026. of the 540.
  1027. 8.9
  1028. Acorn say that the 540 should work satisfactorily with the Risc PC but 
  1029. not with earlier computers, due to hardware differences in the 
  1030. controller.
  1031. 8.9
  1032. (I gather that, after further investigation, it seems that the problem 
  1033. is only with certain A5000s, not with all of them. Ed.)
  1034. 8.9
  1035. Michael Nurse, Cambridge
  1036. 8.9
  1037. Gang Screen in RISC OS 3.5 Ö With reference to Hints & Tips (Archive 
  1038. 8.7), the list of names can be initiated by four clicks of the menu 
  1039. button over any part of ⌐ Acorn Computers Ltd, 1994, although it 
  1040. sometimes refuses to work again until after a reboot.
  1041. 8.9
  1042. M R Buckland, Daventry
  1043. 8.9
  1044. Impression printing Ö Now, I know you all know this, but... for months, 
  1045. I have been cursing the fact that, with Acornæs new printer drivers and 
  1046. LaserDirect, printing one file too soon after another causes a önot 
  1047. enough memory to printò error and you have to wait and try again. Well, 
  1048. I discovered today that if you grab several files together and drop them 
  1049. on the printer driver icon, they print off, one after the other, without 
  1050. so much as a hesitation. I wish someone had told me before!!!!!!!
  1051. 8.9
  1052. Ed.
  1053. 8.9
  1054. More uses for the serial port Ö One of the pieces of software built into 
  1055. the A-Link is the terminal software which could be used to receive the 
  1056. debugging data, described by John West above, on a Pocket Book.
  1057. 8.9
  1058. I find this combination useful for another task as well. There are at 
  1059. least two PD applications which allow you to set up a task window (as 
  1060. you get from ctrl-f12) which takes input from, and outputs to, the 
  1061. serial port, which means I can run command line utilities without taking 
  1062. up desktop space, and even if someone else is using the computer for 
  1063. other tasks.
  1064. 8.9
  1065. Matthew Hunter, NCS
  1066. 8.9
  1067. Printing from text editors Ö Contrary to Matthewæs comments (Archive 8.8 
  1068. pp28/29), in my experience, Edit does print in response to <print> but 
  1069. Zap does not. Dragging the file-save icon to the printer icon does work 
  1070. with both packages. I will stick well clear of <shift-print>, however. 
  1071. Zap prints a black (NOT blank) page!
  1072. 8.9
  1073. There remains one problem, however, which is common to Edit and Zap. If 
  1074. the document contains a line of text which is too long to fit on one 
  1075. line, it is truncated! This did not happen before I upgraded to RISC OS 
  1076. 3 Laser Direct and Printers 1.22. Previously, Edit inserted a CR/LF to 
  1077. print the rest of the line (I did not have Zap then).
  1078. 8.9
  1079. Colin Singleton, Sheffield
  1080. 8.9
  1081. Risc PC Apps directory Ö As Keith Hodge has pointed out in his excellent 
  1082. Risc PC column, the correct place to add applications into ÉAppsæ on the 
  1083. iconbar is in !Boot.Choices.Boot.PreDeskTop, by adding lines such as:
  1084. 8.9
  1085. AddApp adfs::HardDisc4.$.Utilities.!ArcFS
  1086. 8.9
  1087. You may have noticed that the first line of this section reads:
  1088. 8.9
  1089. AddApp Boot:^.Apps.!*
  1090. 8.9
  1091. which displays any application, i.e. a directory whose filename begins 
  1092. with a É!æ. This means that any normal directory whose filename does not 
  1093. begin with a É!æ will not be displayed inside Apps on the iconbar. So, 
  1094. if there are any applications there which you never use, you could place 
  1095. them in a directory (called ÉNot Neededæ say) and they will not be 
  1096. displayed, although they are still accessible through Apps on the hard 
  1097. disc.
  1098. 8.9
  1099. The converse of this is that lines such as that given above for adding 
  1100. applications into Apps need not, in fact, be placed in the file 
  1101. PreDesktop Ö they can be anywhere. Therefore, you can have a small Obey 
  1102. file which adds a selection of your favourite applications at any time. 
  1103. This saves cluttering up the Apps directory display with everything you 
  1104. might conceivably need until you actually need it, and it saves on 
  1105. memory and time taken to Boot the machine, as the !boot files of your 
  1106. chosen applications are not run, and their sprites are not loaded, until 
  1107. you choose to add them to Apps by using your Obey file.
  1108. 8.9
  1109. Matthew Hunter, NCS 
  1110. 8.9
  1111. Risc PC audio expansion Ö The audio header required by the audio mixer 
  1112. for the Cumana Indigo CD-ROM drive, and the identical Acorn and ESP 16-
  1113. bit sound upgrades, is link 14 which was not fitted on some early 
  1114. machines. The link is located at the top right corner of the motherboard 
  1115. if you are looking at the machine from the front. It is a row of five 
  1116. pins, with links connecting 1-2 and 2-4. Pin one is closest to the back 
  1117. of the machine. If this link is not fitted, get in contact with Granada 
  1118. who will replace your motherboard for one fitted with the correct 
  1119. connector. Currently, the Cumana and 16-bit upgrades are mutually 
  1120. exclusive, but ESP are working on an audio mixer to enable the 16-bit 
  1121. sound and CD sound from any CD-ROM drive to be combined.
  1122. 8.9
  1123. Matthew Hunter NCS
  1124. 8.9
  1125. Risc PC font size Ö There was a request in Archive 8.8 p38 regarding the 
  1126. font size for the outline font used in place of the system font. Full 
  1127. details are given on pages 220 and 221 of Volume 5 of the RISC OS 3 
  1128. PRMæs, but the following example Obey file will demonstrate the method. 
  1129. It should be placed in the PreDesk directory of the !Boot sequence.
  1130. 8.9
  1131. configure wimpfont 0
  1132. 8.9
  1133. set wimp$font Trinity.Medium.Italic
  1134. 8.9
  1135. set wimp$fontsize 192
  1136. 8.9
  1137. set wimp$fontwidth 160
  1138. 8.9
  1139. The last two lines allow you to alter the height and width of the font, 
  1140. as desired.
  1141. 8.9
  1142. It will only have an effect on text which an application regards as 
  1143. system text Ö an application which uses its own fonts in icons will not 
  1144. be affected.
  1145. 8.9
  1146. David Springle, Cheshire
  1147. 8.9
  1148. Window behaviour Ö I found that, when two windows containing a word 
  1149. processor are open, it is possible to scroll one window and 
  1150. simultaneously type into the other window. Further investigation has 
  1151. shown that it is possible to do this with Zap (v.á1.20), Edit (v. 1.50), 
  1152. Desk Edit (v. 3.00) and Publisher (v. 4.01). These are the only Éword 
  1153. processorsæ (for want of a better collective name) Iáhave access to. It 
  1154. is also possible to mix the WPs in the windows, e.g. the scrolling 
  1155. window could contain a Publisher document and the typing window could 
  1156. contain a Zap page. This only breaks down with Edit as the scrolling 
  1157. window. When the Edit window is scrolled, this becomes the active window 
  1158. and typing is not possible in the other window. (Why? Can it be 
  1159. changed?).
  1160. 8.9
  1161. Dave Livsey, Devon
  1162. 8.9
  1163. Window behaviour II Ö Usually, if you have clicked on a window titlebar 
  1164. (using select), to move it, or bring it to the front of the window 
  1165. stack, processing will continue in the background Ö this can be seen by 
  1166. having !Alarm counting seconds on the iconbar. If the window you are 
  1167. using has a pane attached, however, you will find that the processing 
  1168. stops. This is because clicking on the titlebar brings the window to the 
  1169. front of the window stack, and the application then brings the pane to 
  1170. the front. The window holding the pane is then no longer at the front, 
  1171. and the WIMP tries to bring it to the front again, and so on. Using 
  1172. <adjust> does not have the same effect, since it does not try to alter 
  1173. the order of the windows.
  1174. 8.9
  1175. Matthew Hunter, NCS
  1176. 8.9
  1177. Hints & Tips
  1178. 8.9
  1179. Exporting text Ö When exporting text from HolyBible into Impression, I 
  1180. suggest that you use an intermediate Étemplateæ document. There are two 
  1181. reasons for this. First of all, you may not like the style definitions 
  1182. that ExpLAN have provided. So, in this dummy document, you can edit the 
  1183. definitions to taste. Then, as you export the DDF text into that 
  1184. document, it will take on your own style definitions. The second reason 
  1185. is that when you export some DDF text, it brings with it thirteen style 
  1186. definitions. When I want to quote a single verse in the God-slot, I 
  1187. donæt want the Archive magazine style-sheet clogged up with all of those 
  1188. styles, so I drop the DDF text into the dummy document. I then mark the 
  1189. text <ctrl-A>, copy it and paste it into the God-slot. That way, it only 
  1190. brings with it the styles it actually uses.
  1191. 8.9
  1192. HolyBible problem Ö Has HolyBible hung up on you? It has stiffed my 
  1193. machine twice now and both times it occurred when I was marking some 
  1194. text ready for export. Now I know that this isnæt a statistically 
  1195. significant sample(!) but I wonder if anyone else has had similar 
  1196. problems? I was working on a 10Mb RiscáPC and (I think) the only other 
  1197. applications I had running at the time were Impression, Edit and 
  1198. Keystroke. If you get hang-ups too, please report them to Gabriel, 
  1199. giving as much detail as possible: what machine? memory configuration? 
  1200. other applications running? what you were doing at the time? etc.
  1201. 8.9
  1202. Paul Beverley, NCSáu 
  1203. 8.9
  1204.  
  1205. Hints and Tips
  1206. 8.10
  1207. Debugging via the Serial Port Ö (Unfortunately, we had problems 
  1208. importing the text into Impression when we put this hint in last monthæs 
  1209. magazine. Sorry for any confusion that we caused Ö it was our fault and 
  1210. not John Westæs! The correct version is as follows...)
  1211. 8.10
  1212. The os_cli line makes use of the system redirection to send the text to 
  1213. the serial port, and so it should have read:
  1214. 8.10
  1215. os_cli(öecho Start of initialise() 
  1216. 8.10
  1217. {serial: }ò);
  1218. 8.10
  1219. More details of redirection can be found on page 419 of the RISC OS 3 
  1220. User Guide. The new Acorn C/C++ does not support os_cli, so you should 
  1221. use _kernel_oscli instead.
  1222. 8.10
  1223. From Basic, the OSCLI command is the direct equivalent.
  1224. 8.10
  1225. OSCLI öecho Start of PROC_init
  1226. 8.10
  1227.  {serial: }ò
  1228. 8.10
  1229. John West, Surrey
  1230. 8.10
  1231. Disc protection Ö Of the 100+ readersæ floppy discs Iæve processed over 
  1232. the last few months, there was a fair smattering of broken cases, 
  1233. mangled sliders and disc errors. In every case, the defective discs had 
  1234. been sent in paper envelopes without further protection from the rough 
  1235. and tumble of Her Majestyæs mails. This prompts me to repeat Edæs 
  1236. recommendation of many moons ago that it is well worthwhile giving your 
  1237. discs adequate protection in the post. Jiffy bags or board-backed 
  1238. envelopes cost only a few pence from stationers and, provided any 
  1239. covering documentation is limited to a couple of pages, you are unlikely 
  1240. to exceed the 60g limit for 19p/25p postage.
  1241. 8.10
  1242. Jim Nottingham, Pocklington
  1243. 8.10
  1244. Impression borders Ö The built-in borders in Impression provide ╝ point, 
  1245. 1 point and 4 point thick black borders (numbers 1, 2 & 3), but how do 
  1246. you get a 5 point border? There is no way for the user to specify the 
  1247. thickness and, also, the lines donæt join properly at the corners, as 
  1248. you can see...
  1249. 8.10
  1250. Here is a simple way to make your own line borders using Draw:
  1251. 8.10
  1252. Create a new Draw document and set the zoom to 8:1. Show the grid and 
  1253. lock to it. Set the grid spacing to 0.125 inches with 9 subdivisions Ö 
  1254. since one point equals 1/72 inch, each subdivision is one point. For a 5 
  1255. point line make a rectangle 5 squares wide and about 30 squares deep. To 
  1256. make the corners square, you need to make a 5 by 5 square immediately 
  1257. above the rectangle.
  1258. 8.10
  1259. Finally, set the fill colour of both to black and the line colour to 
  1260. none and save the file in your border directory.
  1261. 8.10
  1262. You can also make curved or bevelled joins by changing the corner square 
  1263. into a sector or a triangle.
  1264. 8.10
  1265. To get half point thicknesses, you need to set the number of 
  1266. subdivisions to 18.
  1267. 8.10
  1268. Unfortunately, the 8:1 maximum zoom in Draw is too small to do quarter 
  1269. point lines directly, so you need to construct them double size and then 
  1270. ömagnifyò them by 0.5, or else use Artworks with a 4000% magnification. 
  1271. On the monthly disc is a selection of plain rectangular borders from ╝ 
  1272. point to 6 point thickness.
  1273. 8.10
  1274. The only remaining problem is that Impression puts the borders around 
  1275. the outside of the frame so, with thick borders, you canæt use the ösnap 
  1276. to framesò feature to get your alignment right when the frames have 
  1277. different borders, as you can see from the frame opposite.
  1278. 8.10
  1279. Cain Hunt, Cambridge
  1280. 8.10
  1281. Mouseballs Ö Logitech mice sometimes begin to slip when a glassy film of 
  1282. material builds up around the periphery of the rollers which contact the 
  1283. mouse ball. This can be as little as 0.5mm wide but is very tenacious. 
  1284. Using a piece of metal or wood to dislodge the material can easily 
  1285. damage the rollers. With a bit of patience it can be softened using 
  1286. isopropyl alcohol on a cotton bud. Lint free cloth is even better. This 
  1287. takes a few minutes of gentle rubbing to do the trick. One of the 
  1288. rollers is spring loaded and is a little more difficult. A clean cotton 
  1289. bud holding a little IPA can be used to rub around the mouse ball to 
  1290. remove the stickiness. If an Archive type mat is used, a gentle wash 
  1291. with warm water and detergent will delay the problem recurring. 
  1292. Everything has to be completely dry before reassembly.
  1293. 8.10
  1294. Les May, Rochdaleáu 
  1295.  
  1296. 8.11
  1297. LaserDirect double flush Ö I asked for help last month (8.10
  1298. p25) with what to do when I get a paper jam on my LaserDirect LBP8.
  1299. (This turns out to be one of those everybody-knows-about-it-except-me
  1300. problems.) Apparently, all I have to do is click on the LaserDirect icon
  1301. on the iconbar while holding <alt> down. This brings up a LaserDirect
  1302. Status window telling me the paper is jammed and offering me a way of
  1303. escape which I accept gratefully.
  1304. 8.11
  1305. Many thanks to all those who wrote or phoned to tell me what a
  1306. gumby I am. I had been using the ÉFlush printeræ menu option from the
  1307. ÉPrinter Queueæ window (adjust-click on the iconbar icon) instead of
  1308. LaserDirectæs own flush system Ö you stupid boy!
  1309. 8.11
  1310. (Mind you, from some of the suggestions people made, like öhit
  1311. <f12><return>ò, I suspect that I may not be the only person to have had
  1312. this problem and not realised how simple the solution was!)
  1313. 8.11
  1314. Ed.
  1315. 8.11
  1316. Printing from Basic programs (e.g. 8.10 pp21/47) Ö Here are a
  1317. couple of short points which may help. Firstly, ÉPage printingæ via a
  1318. printer driver.
  1319. 8.11
  1320. The key SYS calls recommended for Éproperæ printing via the
  1321. desktop still work in non-Wimp mode, so it is fairly straightforward to
  1322. produce hard copy of text output directly from Basic programs Ö albeit
  1323. in Égraphic/page printingæ style. 
  1324. 8.11
  1325. A sequence which certainly works is:- 
  1326.  DEF PROCprint
  1327.  SYS öPDriver_PageSizeò TO width%, 
  1328.  height%,left%,bottom%,
  1329.  right%,top%
  1330.  pf%=OPENOUT(öprinter:ò)
  1331.  SYS öPDriver_SelectJobò,pf%,
  1332.  öPrinter Testò
  1333.  LOCAL ERROR
  1334.  ON ERROR LOCAL:SYS öPDriver_AbortJobò,pf%:CLOSE#pf%
  1335.  :
  1336.  ENDPROC
  1337.  rect%!0=0
  1338.  rect%!4=0
  1339.  rect%!8=(right%-left%)/400
  1340.  rect%!12=(top%-bottom%)/400
  1341.  trans%!0=1<<16
  1342.  trans%!4=0
  1343.  trans%!8=0
  1344.  trans%!12=1<<16
  1345.  plotat%!0=left%
  1346.  plotat%!4=bottom%
  1347.  SYS öPDriver_GiveRectangleò,0,rect% 
  1348.  ,trans%,plotat%,&FFFFFF00
  1349.  SYS öPDriver_DrawPageò,1,block%,0,0 TO more%
  1350.  WHILE more%
  1351.  ááSYS öColourTrans_SetGCOLò,0
  1352.  ááMOVE 0,(top%-bottom%)/400
  1353.  áá............
  1354.  áá(BASIC print commands Ö see text)
  1355.  áá............
  1356.  ááSYS öPDriver_GetRectangleò,,block% TO more%
  1357.  ENDWHILE
  1358.  SYS öPDriver_EndJobò,pf%
  1359.  RESTORE ERROR
  1360.  CLOSE# pf%
  1361.  ENDPROC
  1362. 8.11
  1363. The above assumes that you have a global error call in
  1364. operation, and you will need to add to the ON ERROR LOCAL line to
  1365. restore to that call. Also, you need to have declared certain variables
  1366. earlier in the program, such as...
  1367. 8.11
  1368. DIM rect% 16
  1369.  DIM trans% 16
  1370.  DIM plotat% 8
  1371.  DIM block% 16
  1372. 8.11
  1373. All the normal Basic printing commands seem to work OK, i.e.
  1374. PRINT, PRINT TAB(), VDU8, 9, 10 and 11, but be careful of VDU28 and 31
  1375. (and, ofácourse, VDU1). 
  1376. 8.11
  1377. With care, you can therefore merely insert (at Basicæs print
  1378. commands above) the call to whatever routine puts your required text
  1379. onto the screen. 
  1380. 8.11
  1381. Secondly, what about using of text files? Although it isnæt
  1382. printing directly from Basic, there are some advantages in using text
  1383. files, as others have noted Ö not least being that your printer driver
  1384. is likely to use Écharacter printingæ, and you can view and edit via
  1385. Edit, if you want. 
  1386. 8.11
  1387. Extending the thoughts offered by others (and assuming you want
  1388. to get a hard copy of something youæve put on the screen) then the
  1389. following PROCs can be used to put text line by line on the screen in
  1390. the way you want it and, at the same time, construct a corresponding
  1391. text file for subsequent dragging to your Printer Driver or into !Edit. 
  1392. 8.11
  1393.  10 MODE27 
  1394.  20 file%=OPENOUT(ötextfileò)
  1395.  30 CLOSE#file%
  1396.  32 *SetType textfile Text
  1397.  40 PROCfile_and_centreprint(öText File Testò)
  1398.  50 PROCfile_and_blankline
  1399.  60 PROCfile_and_printtab(10,öFirst Line at TAB 10ò,TRUE)
  1400.  70 PROCfile_and_printtab(10,öSecond Line at TAB 10, but held ò,FALSE)
  1401.  80 PROCfile_and_printtab(50,öto await this at TAB 50ò,TRUE)
  1402.  90 END
  1403.  10000 
  1404.  10010 DEF PROCtextfile(textline$, return%)
  1405.  10020 REM return% is TRUE/FALSE flag
  1406.  10030 REM to tell BPUT# to make 
  1407.  <RETURN> action after text or not
  1408.  10040 file%=OPENUP(ötextfileò)
  1409.  10050 
  1410.  10060 REM Put pointer to end of file ready for more text.
  1411.  10070 PTR#file%=EXT#file%
  1412.  10080 
  1413.  10090 IF return% THEN
  1414.  10100ááBPUT#file%,textline$
  1415.  10110 ELSE
  1416.  10120ááBPUT#file%,textline$;
  1417.  10130 ENDIF 
  1418.  10140 CLOSE#file%
  1419.  10150 ENDPROC
  1420.  10160 
  1421.  10190 DEF PROCfile_and_centreprint
  1422.  (string$)
  1423.  10200 REM Prints a string centred on screen,
  1424.  10210 REM and puts a corresponding string into a text file.
  1425.  10220 
  1426.  10230 LOCAL tab%,screenwidth%
  1427.  10240 REM First find screenwidth in Mode being used,
  1428.  10250 SYS öOS_ReadModeVariableò,-1,1 TO ,,screenwidth%
  1429.  10260 
  1430.  10270 tab%=((screenwidth%+1)-LEN(string$)) DIV 2
  1431.  10280 PRINT TAB(tab%)string$:REM To screen
  1432.  10290 
  1433.  10300 line$=STRING$(tab%,ö ò)+string$
  1434.  10310 PROCtextfile(line$,TRUE):REM Corresponding string to text file
  1435.  10320 ENDPROC
  1436.  10330 
  1437.  10360 DEF PROCfile_and_blankline
  1438.  10370 REM Prints an empty line on screen,
  1439.  10380 REM and puts a corresponding string into a text file.
  1440.  10400 PRINT:REM To screen
  1441.  10420 line$=öò
  1442.  10430 PROCtextfile(line$,TRUE):REM Corresponding string to text file
  1443.  10440 ENDPROC
  1444.  10450 
  1445.  10480 DEF PROCfile_and_printtab(tab%,string$,crlf%)
  1446.  10490 REM Prints a string on screen at the designated tab position,
  1447.  10500 REM and returns a corresponding string for a text file.
  1448.  10510 REM Écrlf%æ is TRUE/FALSE flag to determine if screen printing
  1449.  10520 REM** is to end with <Return> or not (i.e. semi-colon or not).
  1450.  10530 
  1451.  10540 gap%=tab%-POS
  1452.  10550 REM Égap%æ needs to be calculated before printing to screen.
  1453.  10560 
  1454.  10570 IF crlf% THEN
  1455.  10580ááPRINT TAB(tab%)string$
  1456.  10590 ELSE
  1457.  10600ááPRINT TAB(tab%)string$;
  1458.  10610 ENDIF
  1459.  10620 
  1460.  10630 line$=STRING$(gap%,ö ò)+string$
  1461.  10640 PROCtextfile(line$,crlf%):REM Corresponding string to text file
  1462.  10650 ENDPROC
  1463. 8.11
  1464. I am still trying to get Écharacter printingæ via a Printer
  1465. Driver direct from Basic!
  1466. 8.11
  1467. (We have one that we have used at NCS for years. Iæll put it on
  1468. the monthly disc. Is that what you want? Ed.)
  1469. 8.11
  1470. Ray Favre, West Drayton
  1471. 8.11
  1472. Runny letters Ö Some people donæt realise that the ink used by
  1473. inkjet printers is water-based and is therefore not waterproof. This
  1474. isnæt normally a problem but it can become one when addressing
  1475. envelopes! In rainy weather, my postman often delivers letters where the
  1476. address is all but illegible, and if the ink had run in this way before
  1477. it had reached my local sorting office, I would probably never have
  1478. received it.
  1479. 8.11
  1480. The solution is very simple. Most stationers sell a Éfixeræ for
  1481. use with rub down lettering (Letraset etc.). This is actually a very
  1482. fine, clear, varnish in aerosol form. Itæs quite expensive, around ú3,
  1483. but a can will last many years. Just lightly spray it on the address or
  1484. label (it dries in a few seconds) and your letter will arrive safely
  1485. even in a monsoon.
  1486. 8.11
  1487. David Holden, APDL
  1488. 8.11
  1489. Transferring text files using Hermes Ö There is an increasing
  1490. interest these days in exchanging text files between Acorn RISC
  1491. computers and PCs. There are two major differences Ö PC text files end
  1492. with a ctrl-Z (ASCIIá26) character and have CR LF (ASCII 13 +áASCII 10)
  1493. characters at the end of each line. Acorn text files have only an LF
  1494. character at the end of a line and have no special end character. Hermes
  1495. (v1.22 onwards) is able to handle most of the conversion in either
  1496. direction.
  1497. 8.11
  1498. To convert an Acorn file to PC, open the Hermes application
  1499. window and display the Pipe parameters. Change the Line End to CRLF and
  1500. click on öOKò. Drag the text file to Edit, use <ctrl-down> to move the
  1501. cursor to the end of the file and add ñCTRLZñ, then resave. Ensuring
  1502. that no application has the input caret, drag the text file onto the
  1503. Hermes iconbar icon. After a few moments, the converted file will be
  1504. piped to Edit where it can be saved to the DOS disc.
  1505. 8.11
  1506. To convert a PC file to Acorn, change the DOS file to Text
  1507. (&FFF) and open an Edit document, making sure it has the input focus.
  1508. Drag the DOS file onto the Hermes iconbar icon and the converted file
  1509. will be sent direct to the edit document with all the CR characters
  1510. stripped out. The ctrl-Z character at the end can be deleted manually.
  1511. 8.11
  1512. Hermes raison dæetre is to facilitate transfer between packages
  1513. and this cross-platform interchange is an extension of that philosophy.
  1514. 8.11
  1515. Mike Logan, Base 5 Technical Graphics
  1516. 8.11
  1517. Underlining Impressionæs bugs Ö If you are editing a style, and
  1518. adding ÉUnderlines 2æ to it in Publisher (4.05), make sure that any
  1519. existing text in that style does not have underlines set as an effect.
  1520. If the effect is set, strange things happen, andáthe window goes black!
  1521. 8.11
  1522. Brian Cocksedge, Midhurst, W Sussexáuá
  1523. 8.11
  1524. Hints and Tips
  1525. 8.12
  1526. ÉBad compression fieldæ Ö We have had a number of comments on the 
  1527. subject of the Bad compression field error produced by Laser Direct and 
  1528. the TurboDrivers, so many thanks to everyone who wrote in Ö too many to 
  1529. mention you all.
  1530. 8.12
  1531. The main causes seem to be either a lack of memory, or a lack of disc 
  1532. space. The usual memory saving techniques apply, quitting unused 
  1533. applications, reducing the screen resolution or number of colours and so 
  1534. on. Lack of disc space is most frequent on floppy-only machines for 
  1535. obvious reasons. During printing, a file is placed in the !Scrap 
  1536. directory, so to ensure that you have as much space as possible, create 
  1537. a scrap disc (preferably 1.6Mb if your computer will support it), 
  1538. containing only the !Scrap application, and make sure that you double 
  1539. click on that version before attempting to print. This will require 
  1540. additional disc swapping, but should allow printing to continue 
  1541. successfully.
  1542. 8.12
  1543. NCS.
  1544. 8.12
  1545. Booting problems Ö When exchanging the 80Mb hard drives in our two 
  1546. A5000s for 430Mb drives, I reset the machine to auto boot, and had the 
  1547. desktop auto boot option set, but do you think it would boot? The 
  1548. solution was to issue a *OPT 4,2 command, from which point everything 
  1549. behaved as anticipated. There were no discernible differences on 
  1550. *STATUS.
  1551. 8.12
  1552. This is a known bug in RISC OS 3. When you tick the auto boot option, 
  1553. this should be set, but unfortunately it is not. The reason it makes no 
  1554. difference to the status is that it is not a configuration option, but, 
  1555. in fact, it writes the option to the disc. (If you do a *CAT then the 
  1556. top line should read something like  Dir. SCSI:: Words.$ Option 00 
  1557. (Off); the option given will be the second number in the *OPT command.) 
  1558. MH.
  1559. 8.12
  1560. Alan Jackson, Oamaru, NZ.
  1561. 8.12
  1562. ÉFormattingæ hard discs Ö This has been covered several times in the 
  1563. past but, unfortunately, we have had a number of people recently who 
  1564. have experienced difficulty in preparing hard discs for use. While we 
  1565. cannot provide a step-by-step description, since all the controller 
  1566. cards are supplied with different software, many of the operations which 
  1567. need to be completed are similar.
  1568. 8.12
  1569. Remember that, for your particular system, you will need to read the 
  1570. manual supplied with your hard disc controller card, or the HFORM 
  1571. section of the manual if you are using a native drive (for example an 
  1572. IDE drive on the Risc PC).
  1573. 8.12
  1574. The most important point is that you MUST NOT actually format the drive. 
  1575. If you do, you are more likely to damage the drive than make it usable! 
  1576. All modern drives have the low level formatting laid down during the 
  1577. manufacturing process, and trying to reformat the drive is likely to 
  1578. damage the original formatting, but not completely replace it, rendering 
  1579. the drive unusable.
  1580. 8.12
  1581. Instead you need to initialise the drive. The precise wording will 
  1582. depend on your controller card Ö Morley SCSI and HForm give you an 
  1583. option to öFormat or just Initialise the driveò, and the Cumana SCSI 2 
  1584. card requires that you set up Épartitionsæ on the drive. The 
  1585. initialisation process involves writing out RISC OS information about 
  1586. the position of files on the drives, contents of the root directory and 
  1587. so on, but does not do the potentially dangerous low level formatting.
  1588. 8.12
  1589. NCS.
  1590. 8.12
  1591. Quicksort Ö An error crept into Colin Singletonæs Programming Workshop 
  1592. last month Ö at some point, the Basic program detokenised incorrectly. 
  1593. All the ASC commands should be replaced with a minus sign to make the 
  1594. program work. Thank you to all those who rang or wrote to point out the 
  1595. error.
  1596. 8.12
  1597. NCS.
  1598. 8.12
  1599. Screenbanks Ö Following on from Matthew Hunteræs Programming Workshop 
  1600. article on screen banking (Archive 8.8 p69), errors may not be displayed 
  1601. because the error is written to the screen bank being updated, and not 
  1602. the screen bank being viewed. By using the following procedure, you can 
  1603. link both screens back together.
  1604. 8.12
  1605. DEF PROCresetscreens
  1606. 8.12
  1607. SYS 6,113,SB_bank%
  1608. 8.12
  1609. SYS 6,112,SB_bank%
  1610. 8.12
  1611. ENDPROC
  1612. 8.12
  1613. The procedure could be called via the ON ERROR mechanism, or at the end 
  1614. of the program.
  1615. 8.12
  1616. Peter Prewett, Stirling, South Australia.
  1617. 8.12
  1618. Snippet Ö Snippet is still a useful utility for screen grabs etc, but 
  1619. refused to perform with my Risc PC. I queried 4Mation and obtained the 
  1620. latest upgrade (in very short order and at no cost, which prompts me to 
  1621. raise my hat to them), but still found the same problem of freezing the 
  1622. machine when I tried to save a screen. The solution to this seems to be 
  1623. to select a screen mode of no more than 256 colours, upon which, Snippet 
  1624. behaves like the old friend it has always been.
  1625. 8.12
  1626. Alan Jackson, Oamaru NZ.
  1627. 8.12
  1628. Upgrading Video RAM Ö When upgrading the VRAM in your Risc PC from 1 to 
  1629. 2Mb, it is necessary to remove the 1Mb board and return it to be 
  1630. upgraded. You should make sure that you reconfigure your computer to use 
  1631. a screen resolution/number of colours which is possible even with no 
  1632. VRAM, before removing the 1Mb board. If you do not do this, you will 
  1633. find that you will need to reconfigure the computer Éblindæ, as the high 
  1634. resolution modes are not available if there is no VRAM present, and no 
  1635. picture will be displayed.
  1636. 8.12
  1637. Fred Williams, Staffordshire.
  1638. 8.12
  1639. Wimp bug (RISC OS 3.10) Ö If you are a Wimp programmer and have 
  1640. experienced apparently inexplicable ÉAbort on data transferæ and 
  1641. ÉAddress exceptionæ errors Éatæ addresses in the Window Manager module, 
  1642. especially just after your program has quit, you may be interested (or, 
  1643. like me, relieved!) to know that the problem may lie in a bug in the 
  1644. Wimp.
  1645. 8.12
  1646. According to a letter from Acorn, öthere was a bug with Éslabbedæ icons 
  1647. (those with the R option in the validation flags). If you click on a 
  1648. slabbed icon, and the program deletes the window it is on, or quits 
  1649. before the wimp has a chance to redraw it, problems can arise.ò
  1650. 8.12
  1651. Hugh Eagle, Horsham.
  1652. 8.12
  1653. Windows on the Risc PC Ö I would like to warn CD-ROM users that, due to 
  1654. the fixed palette on the PC card, many CD programs will not work 
  1655. properly Ö giving psychedelic colours which can lock up the computer. We 
  1656. have found by pressing <f1> (in Windows) that the Windows help will be 
  1657. opened, from which you can return to Windows. This prevents having to 
  1658. reset the computer. Acorn/Aleph One are working on a fix for this 
  1659. problem.
  1660. 8.12
  1661. Peter Hughes, Desktop Laminations.
  1662.