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: 3.0.3271
Syntax
public static string[] DeleteFileReportDeleted(
	string connectionString,
	string filePath
)

Parameters

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

Return Value

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