Click or drag to resize

PrinterUtilStoreFile Method

Stores the file on the printer at the specified location and name using any required file wrappers.

Namespace: Zebra.Sdk.Printer
Assembly: SdkApi.Core (in SdkApi.Core.dll) Version: 3.0.3271
Syntax
public static void StoreFile(
	string connectionString,
	string filePath,
	string remoteName
)

Parameters

connectionString  String
The connection string.
filePath  String
The path of the file to store.
remoteName  String
The path on the printer.
Exceptions
ExceptionCondition
ConnectionExceptionIf there is an error connecting to the device.
ZebraPrinterLanguageUnknownExceptionIf the printer language could not be determined.
IOExceptionIf there is an issue storing the file.
NotALinkOsPrinterExceptionThis feature is only available on Link-OS™ printers.
ZebraIllegalArgumentExceptionIf there is an issue storing the file.
Remarks
See ConnectionBuilder for the format of connectionString.
See Also