ProfileUtilLoadBackup Method (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.13.898
Syntax void LoadBackup(
string pathToBackup,
bool isVerbose
)
Sub LoadBackup (
pathToBackup As String,
isVerbose As Boolean
)
void LoadBackup(
String^ pathToBackup,
bool isVerbose
)
Parameters
- pathToBackup
- 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 when loading firmware from the profile
Exceptions Exception | Condition |
---|
IOException | If the profile does not exist or could not be read. |
ConnectionException | If there is an error communicating with the printer. |
Remarks
his method will also delete all files on your printer before applying the backup.
See Also