FormatUtilPrintStoredFormat(String, String) Method
|
Prints a stored format on the printer, filling in the fields specified by the array.
Namespace: Zebra.Sdk.PrinterAssembly: SdkApi.Core (in SdkApi.Core.dll) Version: 3.0.3271
Syntax void PrintStoredFormat(
string formatPathOnPrinter,
string[] vars
)
Sub PrintStoredFormat (
formatPathOnPrinter As String,
vars As String()
)
void PrintStoredFormat(
String^ formatPathOnPrinter,
array<String^>^ vars
)
Parameters
- formatPathOnPrinter String
- The name of the format on the printer, including the extension (e.g. "E:FORMAT.ZPL").
- vars String
- An array of strings representing the data to fill into the format. For LinkOS/ZPL printer formats,
index 0 of the array corresponds to field number 2 (^FN2). For CPCL printer formats, the variables are passed in
the order that they are found in the format.
Exceptions Remarks
The values of any format variables will be encoded using the default
encoding type. On a LinkOS/ZPL printer, only ZPL formats
are supported.On a CPCL printer, only CPCL formats are supported.
See
String for more information about encoding types.
See Also