c_tplblpr - Determines which label printer should be used for a system

SYNTAX

FUNCTION c_tplblpr (printer)

     char     *printer;

PARAMETER

printer (output, character,length(*))

Label printer to use for the current system.

DESCRIPTION

The c_tplblpr() call is used to determine which label printer should be used for the current system. The initlbl.config file in $WORCONFIG is read and returns the label printer for this system. If no printer is assigned to the current system, a default label printer is returned.

RETURN VALUE

c_tplblpr() returns

     E_SUCC (0)  -->  successful completion
     E_FAIL (-1) --> operation failed

SPECIAL CONSIDERATIONS:

The c_tplblpr() call is for C only.