Skip to content

SetPrintSmartLabelMode

Description

Specifies the paper when printing label file.

Syntax

  
    INT SetPrintSmartLabelMode( INT i_hdl, DWORD i_id )
  

Parameter

i_hdl

API handle
Specify the API handle retrieved by OpenMonPrinter.

i_id

Paper ID when printing label file
Specify the paper when printing label file.
See "Paper ID when Printing Label File" for specifiable values.
When an invalid value is specified, it is ignored.

Return value

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

Remarks

    • This API setting is valid only when printing label file by PrintSmartLabelImageData.
    • Paper ID specifying by this API is discarded by CloseMonPrinter.