Click or drag to resize

PrinterUtilLoadBackup(String, String) Method

Takes settings, alerts, and files from a backup, and applies them to a printer.

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

Parameters

connectionString  String
The connection string.
backupPath  String
Path to the profile to load. (e.g. /home/user/profile.zprofile)
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.
NotALinkOsPrinterExceptionThis feature is only available on Link-OS™ printers.
Remarks
This method will also delete all files on your printer before applying the backup.
See ConnectionBuilder for the format of connectionString.
See Also