![]() |
VWorks software calls the EnumerateFormats method to tell the plugin to enumerate all available label formats.
[out] A PrinterMetaData XML block that contains the names of all available label formats and their associated field names. 0 = The request was completed (RETURN_SUCCESS)1 = Something was wrong with the input, so the request was not completed (RETURN_BAD_ARGS)2 = The request was not completed (RETURN_FAIL)The plugin returns a PrinterMetaData XML block in the formats parameter of the EnumerateFormats method.The PrinterMetaData XML block contains the PrinterMetaData element and all its children. This XML block provides the names of all available label formats and their associated field names.
The following sample code is a PrinterFormatMetaData XML block that is returned to VWorks software by the plugin as a string in the formats parameter of the EnumerateFormats method. The plugin returns the label format named 1 and enumerates its fields.