home *** CD-ROM | disk | FTP | other *** search
/ Archive Magazine 1996 / ARCHIVE_96.iso / text / hints / volume_08 / issue_09 < prev    next >
Text File  |  1995-05-09  |  13KB  |  263 lines

  1. Hints and Tips
  2. 8.9
  3. Canon BJ200 + CC TurboDriver Ö Iáhave had a number of problems with this 
  4. combination, and thought my solutions may help others.
  5. 8.9
  6. The first problem concerned the output of IBM ProPrinter strings. These 
  7. occur because the BJ-200 printer definition file supplied is an IBM 
  8. definition file, and should therefore be labelled as BJ10 since IBM 
  9. strings cannot be used in BJ200 mode. The converse also applies, i.e. 
  10. BJ-10 mode cannot handle Epson strings. I then used an Epson printer 
  11. definition file from the Acorn supplied discs, and all the problems 
  12. disappeared.
  13. 8.9
  14. The second problem concerned printing from Basic. I have written a WIMP 
  15. application which writes out a series of results for the bridge club of 
  16. which I am a member. I need to write direct from Basic so that I can 
  17. alter the print style and line and row spacing to produce the best 
  18. layout, using the comprehensive spacing and styles provided in BJ200 
  19. mode. It makes no sense to write these strings to the screen so I use 
  20. *FX3,10 to start the printed output and *FX3,0 to stop it. Everything 
  21. prints perfectly, but a drawfile will not print afterwards. I eventually 
  22. discovered that the *FX3,10 caused a Turboqueue file to be created, but 
  23. the *FX3,0 command leaves the file open and thus hangs the printing 
  24. process. I finally received a letter from CC today and I quote:-
  25. 8.9
  26. öRegarding the Basic printing Éproblemæ. The operating system itself 
  27. will not close the printout file after a *FX3,0. Indeed, we have 
  28. reported this as a bug to Acorn. However, if you immediately follow the 
  29. *FX3,0 command with a VDU3, then the file will close correctly.ò
  30. 8.9
  31. I have tried it and it works!
  32. 8.9
  33. John Wallace, Crawley
  34. 8.9
  35. CD-ROMs Ö With the advent of magazine CD-ROMs, which usually come in a 
  36. soft plastic sleeve, the safe storage of these can be made using a 5╝ö 
  37. disc box.
  38. 8.9
  39. Ted Lacey, Southampton
  40. 8.9
  41. Cursor movements in Publisher Ö There have been moans about one aspect 
  42. of Impression Publisher in various Acorn magazines: <shift-cursor> no 
  43. longer moves the cursor by one word, but is used for selecting text.
  44. 8.9
  45. In the latest version (1.05) of Publisher, the Preferences dialogue box 
  46. contains the option öShift Cursor Word Moveò, so you can take your pick.
  47. 8.9
  48. Jochen Konietzko, K÷ln, Germany
  49. 8.9
  50. Debugging via the serial port Ö Why has no-one extolled the virtues of a 
  51. second machine connected via the serial port? Even on the old BBC B, 
  52. this can be very useful. A trivial Basic program on the second machine 
  53. will print out the incoming data stream. Debugging time can then be cut 
  54. by such simple things as
  55. 8.9
  56. os_cli(echo Start of initialise() {serial: });
  57. 8.9
  58. in a C file. Clearly this is rather basic; a variadic function like 
  59. printf() is much more flexible, but the general usefulness, especially 
  60. when working on desktop applications, is considerable. Besides, there 
  61. must be lots of old machines around gathering dust. I use an old mono 
  62. Kaga monitor Iæve had since soon after the BBC first came out, and an 
  63. old 310 with no disc drive.
  64. 8.9
  65. John West, Surrey
  66. 8.9
  67. Deskjet 540 problems Ö I recently bought an HP DeskJet 540, the 
  68. replacement for the DJ520 and then spent a frustrating weekend trying to 
  69. get it to work with my A5000. I got beautiful printouts but it took half 
  70. an hour to print an A4 page. I tried the latest Acorn DeskJet driver 
  71. sent to me by Gerald Fitton, but it was no better than previous 
  72. versions.
  73. 8.9
  74. As soon as Monday came, I phoned Acorn and they had just heard from 
  75. their Australian office that other people had similar problems. Since 
  76. the DeskJet 540 is software controlled and the Centronics protocol has 
  77. been slightly modified, the 540 and A5000 were incompatible.
  78. 8.9
  79. The earlier Deskjet 520 was perfectly suitable to work with the A5000 
  80. but it was now officially off the market. Fortunately, the shop where I 
  81. purchased the 540 gave me a full refund when I explained the dilemma, 
  82. and I knew that I had seen a 520 recently in another store. I was lucky 
  83. and purchased the last one in stock Ö its monochrome resolution 600 by 
  84. 300 is the same as the 540 but it does not have the colour upgradability 
  85. of the 540.
  86. 8.9
  87. Acorn say that the 540 should work satisfactorily with the Risc PC but 
  88. not with earlier computers, due to hardware differences in the 
  89. controller.
  90. 8.9
  91. (I gather that, after further investigation, it seems that the problem 
  92. is only with certain A5000s, not with all of them. Ed.)
  93. 8.9
  94. Michael Nurse, Cambridge
  95. 8.9
  96. Gang Screen in RISC OS 3.5 Ö With reference to Hints & Tips (Archive 
  97. 8.7), the list of names can be initiated by four clicks of the menu 
  98. button over any part of ⌐ Acorn Computers Ltd, 1994, although it 
  99. sometimes refuses to work again until after a reboot.
  100. 8.9
  101. M R Buckland, Daventry
  102. 8.9
  103. Impression printing Ö Now, I know you all know this, but... for months, 
  104. I have been cursing the fact that, with Acornæs new printer drivers and 
  105. LaserDirect, printing one file too soon after another causes a önot 
  106. enough memory to printò error and you have to wait and try again. Well, 
  107. I discovered today that if you grab several files together and drop them 
  108. on the printer driver icon, they print off, one after the other, without 
  109. so much as a hesitation. I wish someone had told me before!!!!!!!
  110. 8.9
  111. Ed.
  112. 8.9
  113. More uses for the serial port Ö One of the pieces of software built into 
  114. the A-Link is the terminal software which could be used to receive the 
  115. debugging data, described by John West above, on a Pocket Book.
  116. 8.9
  117. I find this combination useful for another task as well. There are at 
  118. least two PD applications which allow you to set up a task window (as 
  119. you get from ctrl-f12) which takes input from, and outputs to, the 
  120. serial port, which means I can run command line utilities without taking 
  121. up desktop space, and even if someone else is using the computer for 
  122. other tasks.
  123. 8.9
  124. Matthew Hunter, NCS
  125. 8.9
  126. Printing from text editors Ö Contrary to Matthewæs comments (Archive 8.8 
  127. pp28/29), in my experience, Edit does print in response to <print> but 
  128. Zap does not. Dragging the file-save icon to the printer icon does work 
  129. with both packages. I will stick well clear of <shift-print>, however. 
  130. Zap prints a black (NOT blank) page!
  131. 8.9
  132. There remains one problem, however, which is common to Edit and Zap. If 
  133. the document contains a line of text which is too long to fit on one 
  134. line, it is truncated! This did not happen before I upgraded to RISC OS 
  135. 3 Laser Direct and Printers 1.22. Previously, Edit inserted a CR/LF to 
  136. print the rest of the line (I did not have Zap then).
  137. 8.9
  138. Colin Singleton, Sheffield
  139. 8.9
  140. Risc PC Apps directory Ö As Keith Hodge has pointed out in his excellent 
  141. Risc PC column, the correct place to add applications into ÉAppsæ on the 
  142. iconbar is in !Boot.Choices.Boot.PreDeskTop, by adding lines such as:
  143. 8.9
  144. AddApp adfs::HardDisc4.$.Utilities.!ArcFS
  145. 8.9
  146. You may have noticed that the first line of this section reads:
  147. 8.9
  148. AddApp Boot:^.Apps.!*
  149. 8.9
  150. which displays any application, i.e. a directory whose filename begins 
  151. with a É!æ. This means that any normal directory whose filename does not 
  152. begin with a É!æ will not be displayed inside Apps on the iconbar. So, 
  153. if there are any applications there which you never use, you could place 
  154. them in a directory (called ÉNot Neededæ say) and they will not be 
  155. displayed, although they are still accessible through Apps on the hard 
  156. disc.
  157. 8.9
  158. The converse of this is that lines such as that given above for adding 
  159. applications into Apps need not, in fact, be placed in the file 
  160. PreDesktop Ö they can be anywhere. Therefore, you can have a small Obey 
  161. file which adds a selection of your favourite applications at any time. 
  162. This saves cluttering up the Apps directory display with everything you 
  163. might conceivably need until you actually need it, and it saves on 
  164. memory and time taken to Boot the machine, as the !boot files of your 
  165. chosen applications are not run, and their sprites are not loaded, until 
  166. you choose to add them to Apps by using your Obey file.
  167. 8.9
  168. Matthew Hunter, NCS 
  169. 8.9
  170. Risc PC audio expansion Ö The audio header required by the audio mixer 
  171. for the Cumana Indigo CD-ROM drive, and the identical Acorn and ESP 16-
  172. bit sound upgrades, is link 14 which was not fitted on some early 
  173. machines. The link is located at the top right corner of the motherboard 
  174. if you are looking at the machine from the front. It is a row of five 
  175. pins, with links connecting 1-2 and 2-4. Pin one is closest to the back 
  176. of the machine. If this link is not fitted, get in contact with Granada 
  177. who will replace your motherboard for one fitted with the correct 
  178. connector. Currently, the Cumana and 16-bit upgrades are mutually 
  179. exclusive, but ESP are working on an audio mixer to enable the 16-bit 
  180. sound and CD sound from any CD-ROM drive to be combined.
  181. 8.9
  182. Matthew Hunter NCS
  183. 8.9
  184. Risc PC font size Ö There was a request in Archive 8.8 p38 regarding the 
  185. font size for the outline font used in place of the system font. Full 
  186. details are given on pages 220 and 221 of Volume 5 of the RISC OS 3 
  187. PRMæs, but the following example Obey file will demonstrate the method. 
  188. It should be placed in the PreDesk directory of the !Boot sequence.
  189. 8.9
  190. configure wimpfont 0
  191. 8.9
  192. set wimp$font Trinity.Medium.Italic
  193. 8.9
  194. set wimp$fontsize 192
  195. 8.9
  196. set wimp$fontwidth 160
  197. 8.9
  198. The last two lines allow you to alter the height and width of the font, 
  199. as desired.
  200. 8.9
  201. It will only have an effect on text which an application regards as 
  202. system text Ö an application which uses its own fonts in icons will not 
  203. be affected.
  204. 8.9
  205. David Springle, Cheshire
  206. 8.9
  207. Window behaviour Ö I found that, when two windows containing a word 
  208. processor are open, it is possible to scroll one window and 
  209. simultaneously type into the other window. Further investigation has 
  210. shown that it is possible to do this with Zap (v.á1.20), Edit (v. 1.50), 
  211. Desk Edit (v. 3.00) and Publisher (v. 4.01). These are the only Éword 
  212. processorsæ (for want of a better collective name) Iáhave access to. It 
  213. is also possible to mix the WPs in the windows, e.g. the scrolling 
  214. window could contain a Publisher document and the typing window could 
  215. contain a Zap page. This only breaks down with Edit as the scrolling 
  216. window. When the Edit window is scrolled, this becomes the active window 
  217. and typing is not possible in the other window. (Why? Can it be 
  218. changed?).
  219. 8.9
  220. Dave Livsey, Devon
  221. 8.9
  222. Window behaviour II Ö Usually, if you have clicked on a window titlebar 
  223. (using select), to move it, or bring it to the front of the window 
  224. stack, processing will continue in the background Ö this can be seen by 
  225. having !Alarm counting seconds on the iconbar. If the window you are 
  226. using has a pane attached, however, you will find that the processing 
  227. stops. This is because clicking on the titlebar brings the window to the 
  228. front of the window stack, and the application then brings the pane to 
  229. the front. The window holding the pane is then no longer at the front, 
  230. and the WIMP tries to bring it to the front again, and so on. Using 
  231. <adjust> does not have the same effect, since it does not try to alter 
  232. the order of the windows.
  233. 8.9
  234. Matthew Hunter, NCS
  235. 8.9
  236. Hints & Tips
  237. 8.9
  238. Exporting text Ö When exporting text from HolyBible into Impression, I 
  239. suggest that you use an intermediate Étemplateæ document. There are two 
  240. reasons for this. First of all, you may not like the style definitions 
  241. that ExpLAN have provided. So, in this dummy document, you can edit the 
  242. definitions to taste. Then, as you export the DDF text into that 
  243. document, it will take on your own style definitions. The second reason 
  244. is that when you export some DDF text, it brings with it thirteen style 
  245. definitions. When I want to quote a single verse in the God-slot, I 
  246. donæt want the Archive magazine style-sheet clogged up with all of those 
  247. styles, so I drop the DDF text into the dummy document. I then mark the 
  248. text <ctrl-A>, copy it and paste it into the God-slot. That way, it only 
  249. brings with it the styles it actually uses.
  250. 8.9
  251. HolyBible problem Ö Has HolyBible hung up on you? It has stiffed my 
  252. machine twice now and both times it occurred when I was marking some 
  253. text ready for export. Now I know that this isnæt a statistically 
  254. significant sample(!) but I wonder if anyone else has had similar 
  255. problems? I was working on a 10Mb RiscáPC and (I think) the only other 
  256. applications I had running at the time were Impression, Edit and 
  257. Keystroke. If you get hang-ups too, please report them to Gabriel, 
  258. giving as much detail as possible: what machine? memory configuration? 
  259. other applications running? what you were doing at the time? etc.
  260. 8.9
  261. Paul Beverley, NCSáu 
  262. 8.9
  263.