Click or drag to resize

FormatUtilLinkOsPrintStoredFormatWithVarGraphics Method (String, DictionaryInt32, String, String)

Prints a stored format on the printer, filling in the fields specified by the Dictionary.

Namespace:  Zebra.Sdk.Printer
Assembly:  SdkApi_Core (in SdkApi_Core.dll) Version: 2.14.1869
Syntax
void PrintStoredFormatWithVarGraphics(
	string storedFormatPath,
	Dictionary<int, string> vars,
	string encoding
)

Parameters

storedFormatPath
Type: SystemString
The location of the file on the printer (e.g. "E:FORMAT.ZPL").
vars
Type: System.Collections.GenericDictionaryInt32, String
A Dictionary which contains the key/value pairs for the stored format. For ZPL formats, the key number should correspond directly to the number of the field in the format. For CPCL formats, the values will be passed in ascending numerical order.
encoding
Type: SystemString
A character-encoding name (e.g. UTF-8)
Exceptions
ExceptionCondition
ConnectionExceptionIf an I/O error occurs.
Remarks
The values of any format variables will be encoded using the provided encoding type. eg.UTF-8.
See String for more information about encoding types.
See Also