Click or drag to resize

PrinterUtilCreateBackup Method

Create a backup of your printer's settings, alerts, and files.

Namespace: Zebra.Sdk.Printer
Assembly: SdkApi.Core (in SdkApi.Core.dll) Version: 3.0.3271
Syntax
public static void CreateBackup(
	string connectionString,
	string profilePath
)

Parameters

connectionString  String
The connection string.
profilePath  String
The location of where to store the profile. The extension must be .zprofile; if it is not, the method will change it to.zprofile for you.
Exceptions
ExceptionCondition
ConnectionExceptionIf there is an error connecting to the device.
ZebraPrinterLanguageUnknownExceptionIf the printer language could not be determined.
IOExceptionIf there is an issue creating the profile.
ZebraIllegalArgumentExceptionCould not interpret the response from the printer.
NotALinkOsPrinterExceptionThis feature is only available on Link-OS™ printers.
Remarks
A backup contains a snapshot of all pertinent settings to fully restore your printer.
See ConnectionBuilder for the format of connectionString.
See Also