Paxar Gold 6037EX User Manual

Page 138

Advertising
background image

4-102 Programmer’s Manual

v i d P u t S t r

Description

Writes a string of ASCII characters with an attribute at the
specified display page’s current cursor location. The string
overwrites the characters in the affected positions. This
function does not move the cursor. Use vidPutCursor to move
it.

If the application writes to a display page other than the current
one, the written string does not appear until the application sets
that page as the current one with vidSetPage. Strings written to
the current page appear immediately.

Syntax

void far vidPutStr(char far* lpchString,

unsigned char uchAttr,

short sPage);

Parameters

lpchString

The string to write. Bell, backspace, carriage
return, and line feed characters are invalid. The
string’s length must be less than or equal to the
number of remaining columns in the current row.

uchAttr

The string’s attribute. Values are:

0x07

Normal

video

0x70

Reverse

video

sPage

The display page. For 4-row printers, values are

0-

3. For 8-row printers, values are 0-1.


Return Values

None

Advertising