Click or drag to resize

ProfileUtilCreateBackup Method

Save a backup of your printer's settings, alerts, and files for later restoration.

Namespace:  Zebra.Sdk.Printer
Assembly:  SdkApi_Core (in SdkApi_Core.dll) Version: 2.13.898
Syntax
void CreateBackup(
	string pathToOutputFile
)

Parameters

pathToOutputFile
Type: SystemString
Path on your local machine where you want to save the backup. (e.g. /home/user/profile.zprofile). The extension must be.zprofile; if it is not, the method will change it to .zprofile for you.
Exceptions
ExceptionCondition
IOExceptionIf the output file could not be created.
ZebraIllegalArgumentExceptionCould not interpret the response from the printer.
ConnectionExceptionIf there is an error communicating with the printer.
Remarks
A backup contains a snapshot of all pertinent settings to fully restore your printer.
See Also