FormatUtilRetrieveFormatFromPrinter Method (Stream, String)
|
Retrieves a format from the printer.
Namespace:
Zebra.Sdk.Printer
Assembly:
SdkApi.Core (in SdkApi.Core.dll) Version: 2.15.2634
Syntax void RetrieveFormatFromPrinter(
Stream formatData,
string formatPathOnPrinter
)
Sub RetrieveFormatFromPrinter (
formatData As Stream,
formatPathOnPrinter As String
)
void RetrieveFormatFromPrinter(
Stream^ formatData,
String^ formatPathOnPrinter
)
Parameters
- formatData
- Type: System.IOStream
The format. - formatPathOnPrinter
- Type: SystemString
The location of the file on the printer (e.g. "E:FORMAT.ZPL").
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