A SERVICE OF

logo

4-96 Programmer’s Manual
spkBeep
Description
Sounds the printer’s beeper for the specified duration and
frequency. If you pass invalid values in either parameter, the
beeper does not sound.
Syntax
void far spkBeep(unsigned char uchDuration,
unsigned short usFrequency);
Parameters
uchDuration
The duration in tenths of a second. Values are
1-
10
.
usFrequency
The frequency in hertz. Values are
110-10,000
.
Return Values
None
Example
See “scnGets” for an example.