Click or drag to resize

PrinterUtilDeleteFile 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 void DeleteFile(
	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:*.*")
Exceptions
ExceptionCondition
ConnectionExceptionIf there is an error connecting to the device.
ZebraPrinterLanguageUnknownExceptionIf the printer language could not be determined.
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