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: 2.14.1989
Syntax
public static void StoreFile(
	string connectionString,
	string filePath,
	string remoteName
)

Parameters

connectionString
Type: SystemString
The connection string.
filePath
Type: SystemString
The path of the file to store.
remoteName
Type: SystemString
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