Skip to content

SelectSmartLabelFile

Description

Specifies a label file (*.slex) to use the printing label function.

Syntax

  
    INT SelectSmartLabelFile( INT i_hdl, LPCTSTR i_fname )
  

Parameter

i_hdl

API handle
Specify the API handle retrieved by OpenMonPrinter.

i_fname

Name of label file (*.slex) to use
Specify the label file created using the app with the path.

Return value

On success: Returns 0.
On failure: Returns an error code. See "Error Code List" for details of the error code.

Remarks

    • Only 1 file can be selected with this API for 1 API handle.
    • Make the file specified by this API readable by all processes that call the API.
    • The file selection by this API is discarded by CloseMonPrinter.
    • There are restrictions on the label files that can be used. See "Printing Label Function" for details of the restrictions.