Avery Dennison 6035 Programmer Manual Rev.CA 6/01 User Manual

Page 144

Advertising
background image

Function Reference 4-103

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 appears 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/33-key printers,
values are 0-3. For 8-row/48-key printers, values
are 0-1.


Return Values

None

Advertising