Intermec 5055 Reference Guide

Page of 216
im_puts
5-49
5
im_puts
Purpose:
This function places a string on the screen with the specified attribute at the current
cursor location with the specified attribute and appends a carriage return and line feed
(CR LF) to the string.
Syntax:
#include "im5055.h"
IM_STATUS im_puts
    (IM_UCHAR far *
string,
    
IM_ATTRIBUTES a
ttrib
);
IN Parameters:
string    Far pointer to the text string to be displayed.
attrib    Specifies the display attribute for the string. Choose one of these constants:
IM_NORMAL    Plain text.
IM_INVERSE    Inverse color text.
IM_UNDERLINE    Underline 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.
See Also:
im_cputs, im_putchar