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: 2.14.1989
Syntax
public static void DeleteFile(
	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:*.*")
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