Click or drag to resize

FormatUtilRetrieveFormatFromPrinter Method (String)

Retrieves a format from the printer.

Namespace:  Zebra.Sdk.Printer
Assembly:  SdkApi_Core (in SdkApi_Core.dll) Version: 2.13.898
Syntax
byte[] RetrieveFormatFromPrinter(
	string formatPathOnPrinter
)

Parameters

formatPathOnPrinter
Type: SystemString
The location of the file on the printer (e.g. "E:FORMAT.ZPL").

Return Value

Type: Byte
The contents of the format file.
Exceptions
ExceptionCondition
ConnectionExceptionIf 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