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: 2.14.1869
Syntax
public static void CreateBackup(
	string connectionString,
	string profilePath
)

Parameters

connectionString
Type: SystemString
The connection string.
profilePath
Type: SystemString
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