FormatUtilLinkOsPrintStoredFormatWithVarGraphics(String, DictionaryInt32, ZebraImageI, DictionaryInt32, String, String) Method
|
Prints a stored format on the printer, filling in the fields specified by the Dictionaries.
Namespace: Zebra.Sdk.PrinterAssembly: SdkApi.Core (in SdkApi.Core.dll) Version: 3.0.3271
Syntax void PrintStoredFormatWithVarGraphics(
string storedFormatPath,
Dictionary<int, ZebraImageI> imgVars,
Dictionary<int, string> vars,
string encoding
)
Sub PrintStoredFormatWithVarGraphics (
storedFormatPath As String,
imgVars As Dictionary(Of Integer, ZebraImageI),
vars As Dictionary(Of Integer, String),
encoding As String
)
void PrintStoredFormatWithVarGraphics(
String^ storedFormatPath,
Dictionary<int, ZebraImageI^>^ imgVars,
Dictionary<int, String^>^ vars,
String^ encoding
)
Parameters
- storedFormatPath String
- The location of the file on the printer (e.g. "E:FORMAT.ZPL").
- imgVars DictionaryInt32, ZebraImageI
- A Dictionary which contains the key/value pairs for the images to be used in 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.
- vars DictionaryInt32, 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 String
- A character-encoding name (e.g. UTF-8)
Exceptions Remarks
The images stored in
imgVars will first be dithered and then sent down the the printer as SDK01.GRF-SDK99.GRF.
These GRF files will then be used when printing the format and overwritten each time the method is called with new
images. 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