FileUtilLinkOsGetObjectFromPrinter Method (String)
|
Retrieves a file from the printer's file system and returns the contents of that file as a byte array.
Namespace:
Zebra.Sdk.Device
Assembly:
SdkApi.Core (in SdkApi.Core.dll) Version: 2.15.2634
Syntax byte[] GetObjectFromPrinter(
string filePath
)
Function GetObjectFromPrinter (
filePath As String
) As Byte()
array<unsigned char>^ GetObjectFromPrinter(
String^ filePath
)
Parameters
- filePath
- Type: SystemString
The absolute file path on the printer ("E:SAMPLE.TXT").
Return Value
Type:
ByteThe file contents
Exceptions Remarks
Will retrieve the following file extensions: ZPL, GRF, DAT, BAS, FMT, PNG, LBL, PCX, BMP, WML, CSV, HTM, TXT.
Files transferred between different printer models may not be compatible.
See Also