EasyManua.ls Logo

Sinclair ZX INTERFACE 1 - Page 40

Sinclair ZX INTERFACE 1
64 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
If this program is being sent via a modem, saneone at the other end should
enter:
LOAD *“b”
The usual extensions are also possible, such as:
SAVE Y”b”;SCREEN $
and:
SAVE W’b”; LINE number
Sending control codes
Many printers allow you to send instructions for such operations as double
width printing. To send these you should use the b channel. However, with
the b channel, the carriage return does not include a line feed. So you will
have either to change the settings on your printer, or print the line feed
code: 10.
For example, suppose that the control code for double width printing is 14.
Enter:
10 OPEN X4; “b”
20 PRINT* 4; “Normal width”
30 PRINT #4;CHR$14;“Double width”
40
CLOSE #4
(For the correct control codes to use, refer to your printer’s instruction book.1
You can have both b and t channels open at once. Try entering this:
10 OPEN #5:-b”
20
OPEN 3t6;“t”
30PRINT#5;CHR$14;
40LIST#6
50 CLOSE #5: CLOSE #6
This would give you a double width listing.
38