PrinterUtilGetObjectFromPrinter Method (Stream, String, String)
|
Retrieves a file from the printer's file system and returns the contents of that file as a byte[].
Namespace:
Zebra.Sdk.Printer
Assembly:
SdkApi_Core (in SdkApi_Core.dll) Version: 2.14.1869
Syntax public static void GetObjectFromPrinter(
Stream destinationStream,
string connectionString,
string filePathOnPrinter
)
Public Shared Sub GetObjectFromPrinter (
destinationStream As Stream,
connectionString As String,
filePathOnPrinter As String
)
public:
static void GetObjectFromPrinter(
Stream^ destinationStream,
String^ connectionString,
String^ filePathOnPrinter
)
Parameters
- destinationStream
- Type: System.IOStream
Stream to receive file contents. - connectionString
- Type: SystemString
The connection string. - filePathOnPrinter
- Type: SystemString
The file to retrieve. (e.g. "R:MYFILE.PNG")
Exceptions Remarks
Will retrieve the following file extensions: .FNT, .ZPL, .GRF, .DAT, .BAS, .STO, .PNG, .LBL, .TTF, .PCX, .BMP, .IMG, .TTE,
.WML, .CSV, .HTM, .BAE, .TXT.
See
ConnectionBuilder for the format of
connectionString.
See Also