Intermec 5055 Reference Guide

Page of 216
im_cputs_ex
5-9
5
im_cputs_ex
Purpose:
This function places a string on the screen with the specified attribute at the current
cursor location without appending a carriage return and line feed (CR LF) to the string.
The cursor remains on the last character of the string.
Syntax:
#include "im5055.h"
IM_STATUS im_cputs
    (IM_UCHAR far *
string,
    
IM_ATTRIBUTES a
ttrib
);
IN Parameters:
string    Far pointer to the text string to be displayed.
attrib    Attribute mask and is any combination of these constants:
IM_NORMAL    Plain text.
IM_UNDERLINE    Underline text.
IM_INVERSE    Inverse color text.
OUT Parameters:
None.
Return Value:
This function returns one of these codes:
IM_SUCCESS    Success.
IM_BAD_ADDRESS    Invalid string address.
IM_INVALID_PARAM_2    Invalid attribute value.
Notes:
This function is similar to im_puts, except that it does not append a carriage return or
line feed (CR LF) to the string. This function is used for printing a line the length of the
column width when the user doesn’t want the cursor to move to the next line.
See Also:
im_putchar, im_puts
Example
See example for im_get_display_mode.