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

Page 156

Advertising
background image

Function Reference 4-115

v i d W r i t e C

Description

Writes an ASCII character at the specified display page’s
current cursor location, overwriting any character that may
already be there, but keeping the attribute. After calling this
function, call vidPutCursor to move the cursor to a new position.

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.

To write a character and attribute, use vidWriteCA.

Syntax

void far vidWriteC(unsigned char uchChr,

short sCount,

short sPage);

Parameters

uchChr

The ASCII character to write. Bell, backspace,
carriage return, and line feed characters are
invalid.

sCount

The number of times to write the character. This
number must be less than or equal to the number of
columns remaining in the current row.

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