Paxar Gold 6037EX manual L G e t Error M s g

Models: Gold 6037EX

1 230
Download 230 pages 30.9 Kb
Page 64
Image 64

p c l G e t E r r o r M s g

Description

Testing/Debugging Only. Retrieves a pointer to the error message corresponding to a specified error number. Use this function on error numbers returned by pclOpen, pclWrite, and pclStatus.

Many error messages are longer than 20 characters. An application must format the message before displaying it to avoid truncation. See “Display” in Chapter 2 for more information.

Error numbers that this function can retrieve must be positive. Zero indicates success, and negative numbers are ROM-DOS errors.

Syntax

char far* far pclGetErrorMsg(unsigned short usMsgNo);

Parameters

usMsgNoThe error number.

Return Values

Pointer to a null-terminated

Successful.

message string

 

0

Unsuccessful.

4-28 Programmer’s Manual

Page 64
Image 64
Paxar Gold 6037EX manual L G e t Error M s g