Click or drag to resize

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

Parameters

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