Click or drag to resize

ProfileGetPrinterDownloadableObjectFromPrinter Method

Retrieves a file from the profile and returns the contents of that file as a byte array including all necessary file wrappers for re-downloading to a Zebra printer.

Namespace:  Zebra.Sdk.Device
Assembly:  SdkApi_Core (in SdkApi_Core.dll) Version: 2.14.1989
Syntax
public byte[] GetPrinterDownloadableObjectFromPrinter(
	string filePath
)

Parameters

filePath
Type: SystemString
The absolute file path on the printer ("E:SAMPLE.TXT").

Return Value

Type: Byte
A Zebra printer downloadable file content.

Implements

FileUtilLinkOsGetPrinterDownloadableObjectFromPrinter(String)
Exceptions
ExceptionCondition
ZebraIllegalArgumentExceptionIf the filePath is invalid, or if the file does not exist on the printer.
Remarks
Will retrieve the following file extensions: ZPL, GRF, DAT, BAS, FMT, PNG, LBL, PCX, BMP, WML, CSV, HTM, BAE, TXT
Files transferred between different printer models may not be compatible.
See Also