PrinterUtilGetObjectFromPrinterViaFtp(Stream, String, String, String) Method
|
Retrieves a file from the printer's file system and returns the contents of that file as a byte[].
Namespace: Zebra.Sdk.PrinterAssembly: SdkApi.Core (in SdkApi.Core.dll) Version: 3.0.3271
Syntax public static void GetObjectFromPrinterViaFtp(
Stream destination,
string connectionString,
string filePathOnPrinter,
string ftpPassword
)
Public Shared Sub GetObjectFromPrinterViaFtp (
destination As Stream,
connectionString As String,
filePathOnPrinter As String,
ftpPassword As String
)
public:
static void GetObjectFromPrinterViaFtp(
Stream^ destination,
String^ connectionString,
String^ filePathOnPrinter,
String^ ftpPassword
)
Parameters
- destination Stream
- Stream to receive the file contents.
- connectionString String
- The connection string.
- filePathOnPrinter String
- File to retrieve. (e.g. "R:MYFILE.PNG")
- ftpPassword String
- Password to use for ftp, if null a default password will be used.
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