beautypg.com

Paxar Gold 6037EX User Manual

Page 132

background image

4-96 Programmer’s Manual

s p k B e e p

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.