FormatUtilRetrieveFormatFromPrinter(String) Method
|
Retrieves a format from the printer.
Namespace: Zebra.Sdk.PrinterAssembly: SdkApi.Core (in SdkApi.Core.dll) Version: 3.0.3271
Syntax byte[] RetrieveFormatFromPrinter(
string formatPathOnPrinter
)
Function RetrieveFormatFromPrinter (
formatPathOnPrinter As String
) As Byte()
array<unsigned char>^ RetrieveFormatFromPrinter(
String^ formatPathOnPrinter
)
Parameters
- formatPathOnPrinter String
- The location of the file on the printer (e.g. "E:FORMAT.ZPL").
Return Value
ByteThe contents of the format file.
Exceptions Exception | Condition |
---|
ConnectionException | If there is an issue communicating with the printer (e.g. the connection is not open). |
Remarks
On a LinkOS/ZPL printer, only .ZPL files are supported. On a CPCL printer, only .FMT and .LBL files are supported.
See Also