Acorn Computers BBC Micro Model B w/8271 — Acorn BBC Micro Model B w/8271 User Guide Manual PDF

349 Detailed description 0 This code is ignored. 1 This code causes the next character to be sent to the printer only and not to the screen. The printer must already have been enabled with VDU2 . Many printers use special control characters to change, for example, the size of the printed output. For example the Epson FX-80 requires a code 14 to place it into double width print mode. This could be effected with the statement VDU1,14 or by pressing CTRL A and then CTRL N . This code also enables the ‘printer ignore’ character selected by *FX6 to be sent to the printer. 2 This code turns the printer on which means that all output to the screen will also be sent to the printer.

In a program the statement VDU2 should be used, but the same effect can be obtained by typing CTRL B . 3 This code turns the printer off. No further output will be sent to the printer after the statement VDU3 or after typing CTRL C 4 This code causes text to be written at the text cursor, ie in the normal fashion. A MODE change selects VDU4 , normal operation. 5 This code causes text to be written where the graphics cursor is. The position of the text cursor is unaffected.

Normally the text cursor is controlled with statements such as PRINT TAB(5,10); and the graphics cursor is controlled with statements like MOVE700,450 Once the statement VDU5 has been given only one cursor is active (the graphics cursor). This enables text characters to be placed at any position on the screen. There are a number of other effects: text characters overwrite what is already on the screen so that characters can be superimposed; text and graphics can only be written in the graphics window and the colours used for both text and graphics are the graphics colours. In addition the page no longer scrolls up when at the bottom of the page.

Note however that POS and VPOS still give you the position of the text cursor. See chapter 29 for more information.