Click or drag to resize

PrinterUtilLoadBackup Method (String, String, Boolean)

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: 2.14.1869
Syntax
public static void LoadBackup(
	string connectionString,
	string backupPath,
	bool isVerbose
)

Parameters

connectionString
Type: SystemString
The connection string.
backupPath
Type: SystemString
Path to the profile to load. (e.g. /home/user/profile.zprofile)
isVerbose
Type: SystemBoolean
Increases the amount of detail presented to the user.
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