Click or drag to resize

PrinterUtilDeleteFileReportDeleted Method

Deletes file(s) from the printer and reports what files were actually removed.

Namespace:  Zebra.Sdk.Printer
Assembly:  SdkApi_Core (in SdkApi_Core.dll) Version: 2.14.1869
Syntax
public static string[] DeleteFileReportDeleted(
	string connectionString,
	string filePath
)

Parameters

connectionString
Type: SystemString
The connection string. (May be null)
filePath
Type: SystemString
The location of the file on the printer. Wildcards are also accepted. (e.g. "E:FORMAT.ZPL", "E:*.*")

Return Value

Type: String
An array of the files which were deleted.
Exceptions
ExceptionCondition
ConnectionExceptionIf there is an error connecting to the device.
ZebraPrinterLanguageUnknownExceptionIf the printer language could not be determined.
ZebraIllegalArgumentExceptionIf the format of dateTime is invalid.
NotALinkOsPrinterExceptionThis feature is only available on Link-OS™ printers.
Remarks
The filePath may also contain wildcards.
See ConnectionBuilder for the format of connectionString.
See Also