to remind an operator to change the paper or to make another adjustment to the printer. Note to Apple users: Entering a CHR$(7) will sound AppZe’s bell; the code will not be sent to SR-10/15.

You can try this by typing:

LPRINT CHR$(7);

There are two other codes that affect the bell. One disables the bell, so that SR-lo/15 will ignore a CHR$(7), and the other turns the bell back on. All three codes that affect the bell are shown in the following table.

 

Table

8-I

,

Bell commands

 

 

Function

Mode

Control code

Sound

bell

STAR

CHR$(7)

 

 

 

IBM

CHR$(7)

 

Disable

bell

STAR

<ESC>

“Y,, 0

I

 

I

< ESC >

I

 

 

IBM

“y” 0

Enable

bell

STAR

<ESC>

“Y” 1

 

 

IBM

<ESC>

“v” 1

Note: If your computer does not support lowercase characters, use CHR$(121) for “y”.

nInitializing SR- lo/ 15

Up to now when we wanted to reset SR-lo/15 to the power on condition we have had to either turn the printer off and then on again, or to send the specific codes that reset the particular features. There is an easier way. The control code < ESC > “a” will reset all of SR-10/15’s features to the power on condition (as determined by the DIP switches), with two exceptions. Those exceptions are that < ESC > “@” will not erase any characters that you have stored in SR-10/15’s RAM memory (Chapter 9 tells you how to create your own characters), and it won’t erase the macro if you have one stored in SR- 10/l 5’s RAM (this chapter will tell you how to create a macro).

nPutting SR-lo/15 to sleep

You know how to put SR-lo/15 off-linewith the On Line button. SR- 10/l 5 has another off--linestate that can be controlled from your computer. When you turn SR- 10/l 5 off--linefrom your

computer, SR-lo/15 will ignore anything that you send it, except

----______--

68

Page 78
Image 78
Star Micronics SR-10/I5 user manual Sound Bell